Add new generic MIR opcodes G_SADDSAT etc. Add support in IRTranslator
for translating the saturating add/subtract intrinsics to the new
opcodes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D76600
[GlobalISel] Add generic opcodes for saturating add/subtract ClosedPublic Authored by foad on Mar 23 2020, 5:00 AM.
Details Summary Add new generic MIR opcodes G_SADDSAT etc. Add support in IRTranslator
Diff Detail
Event Timelinefoad added a child revision: D73051: [GlobalISel][AMDGPU] Legalize saturating add/subtract.Mar 23 2020, 5:04 AM This revision is now accepted and ready to land.Mar 23 2020, 7:52 AM Closed by commit rG0444d16a16cb: [GlobalISel] Add generic opcodes for saturating add/subtract (authored by foad). · Explain WhyMar 23 2020, 8:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 252060 llvm/docs/GlobalISel/GenericOpcode.rst
llvm/include/llvm/Support/TargetOpcodes.def
llvm/include/llvm/Target/GenericOpcodes.td
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sat.ll
|