[PATCH] D83671: GlobalISel: Implement widenScalar for saturating add/sub

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 05:21:05 PDT 2020


arsenm created this revision.
arsenm added reviewers: foad, aemerson, aditya_nandakumar, paquette, kerbowa.
Herald added subscribers: hiraditya, tpr, rovka, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.

Add a placeholder legality rule for AMDGPU until the rest of the
actions are handled.


https://reviews.llvm.org/D83671

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddsat.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubsat.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-uaddsat.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-usubsat.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83671.277392.patch
Type: text/x-patch
Size: 30719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200713/e2ebf265/attachment.bin>


More information about the llvm-commits mailing list