[PATCH] D124951: [SelectionDAG] Teach getNode to fold (max/min X, X) -> X.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 23:52:56 PDT 2022


craig.topper updated this revision to Diff 427208.
craig.topper added a comment.

Move to DAGCombine


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124951

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/RISCV/min-max.ll
  llvm/test/CodeGen/RISCV/pr55271.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124951.427208.patch
Type: text/x-patch
Size: 5647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220505/d5bacaae/attachment.bin>


More information about the llvm-commits mailing list