[PATCH] D142535: [DAGCombine] Fold redundant select

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 08:10:35 PST 2023


samparker updated this revision to Diff 492120.
samparker edited the summary of this revision.
samparker added a comment.

Added support for checking against SETLT and SETGT nodes too. X86 and Arm test changes look rather noisey...


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

https://reviews.llvm.org/D142535

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/ARM/fpclamptosat.ll
  llvm/test/CodeGen/ARM/fpclamptosat_vec.ll
  llvm/test/CodeGen/RISCV/fpclamptosat.ll
  llvm/test/CodeGen/RISCV/fpclamptosat_vec.ll
  llvm/test/CodeGen/WebAssembly/fpclamptosat.ll
  llvm/test/CodeGen/WebAssembly/fpclamptosat_vec.ll
  llvm/test/CodeGen/X86/fpclamptosat.ll
  llvm/test/CodeGen/X86/fpclamptosat_vec.ll
  llvm/test/CodeGen/X86/sdiv_fix_sat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142535.492120.patch
Type: text/x-patch
Size: 140228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230125/0b7b5a4b/attachment-0001.bin>


More information about the llvm-commits mailing list