[PATCH] D109149: [DAG] Fold select_cc setgt X, -1, C, ~C -> xor (ashr X, BW-1), C

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 3 01:06:25 PDT 2021


dmgreen updated this revision to Diff 370503.
dmgreen edited the summary of this revision.
dmgreen added a comment.

Rebase, taking out the setcc combine.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109149/new/

https://reviews.llvm.org/D109149

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/select-constant-xor.ll
  llvm/test/CodeGen/AMDGPU/fp_to_sint.ll
  llvm/test/CodeGen/AMDGPU/fp_to_uint.ll
  llvm/test/CodeGen/AMDGPU/select-constant-xor.ll
  llvm/test/CodeGen/AMDGPU/selectcc-icmp-select-float.ll
  llvm/test/CodeGen/ARM/select-constant-xor.ll
  llvm/test/CodeGen/PowerPC/select-constant-xor.ll
  llvm/test/CodeGen/PowerPC/smulfixsat.ll
  llvm/test/CodeGen/PowerPC/testComparesi32ltu.ll
  llvm/test/CodeGen/RISCV/select-constant-xor.ll
  llvm/test/CodeGen/X86/pr16031.ll
  llvm/test/CodeGen/X86/select-constant-xor.ll
  llvm/test/CodeGen/X86/smul_fix_sat.ll
  llvm/test/CodeGen/X86/sshl_sat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109149.370503.patch
Type: text/x-patch
Size: 50185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210903/93fe1b85/attachment-0001.bin>


More information about the llvm-commits mailing list