[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
Sun Sep 5 08:04:28 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8523fb96a63e: [DAG] Fold select_cc setgt X, -1, C, ~C -> xor (ashr X, BW-1), C (authored by dmgreen).

Changed prior to commit:
  https://reviews.llvm.org/D109149?vs=370585&id=370806#toc

Repository:
  rG LLVM Github Monorepo

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/select-constant-xor.ll
  llvm/test/CodeGen/ARM/select-constant-xor.ll
  llvm/test/CodeGen/PowerPC/select-constant-xor.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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109149.370806.patch
Type: text/x-patch
Size: 34498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210905/338a123f/attachment.bin>


More information about the llvm-commits mailing list