[PATCH] D76600: [GlobalISel] Add generic opcodes for saturating add/subtract
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 23 05:26:08 PDT 2020
foad created this revision.
foad added reviewers: aemerson, dsanders, paquette, arsenm.
Herald added subscribers: llvm-commits, kerbowa, volkan, hiraditya, rovka, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.
foad added a child revision: D73051: [GlobalISel][AMDGPU] Legalize saturating add/subtract.
Add new generic MIR opcodes G_SADDSAT etc. Add support in IRTranslator
for translating the saturating add/subtract intrinsics to the new
opcodes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76600
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76600.251995.patch
Type: text/x-patch
Size: 22281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200323/e5258770/attachment.bin>
More information about the llvm-commits
mailing list