[PATCH] D70114: AMDGPU: Extend add x, (ext setcc) combine to sub

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 02:31:18 PST 2019


arsenm created this revision.
arsenm added a reviewer: rampitec.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

This is the same as the add case, but inverts the operation type.

      

This avoids regressions in a future patch.


https://reviews.llvm.org/D70114

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/combine-cond-add-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70114.228837.patch
Type: text/x-patch
Size: 4091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191112/3dbcf4f5/attachment.bin>


More information about the llvm-commits mailing list