[PATCH] D128123: [SDAG] try to replace subtract-from-constant with xor
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 30 08:35:55 PDT 2022
spatel updated this revision to Diff 441412.
spatel added a comment.
This revision is now accepted and ready to land.
Patch updated:
No code changes. Based on review comments, I added 2 AMD offset transform tests that show no diffs with this patch and test comments for the changed tests in case there is motivation to restore those patterns.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128123/new/
https://reviews.llvm.org/D128123
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/Target/X86/X86InstrCompiler.td
llvm/test/CodeGen/AArch64/sub1.ll
llvm/test/CodeGen/AMDGPU/ds-sub-offset.ll
llvm/test/CodeGen/AMDGPU/setcc-multiple-use.ll
llvm/test/CodeGen/ARM/intrinsics-overflow.ll
llvm/test/CodeGen/ARM/usub_sat.ll
llvm/test/CodeGen/ARM/usub_sat_plus.ll
llvm/test/CodeGen/PowerPC/bool-math.ll
llvm/test/CodeGen/PowerPC/select_const.ll
llvm/test/CodeGen/RISCV/atomic-rmw.ll
llvm/test/CodeGen/RISCV/atomic-signext.ll
llvm/test/CodeGen/SPARC/64bit.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128123.441412.patch
Type: text/x-patch
Size: 23114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220630/242a6f4b/attachment.bin>
More information about the llvm-commits
mailing list