[llvm] [RISCV] Support umin/umax in tryFoldSelectIntoOp (PR #157548)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 14:46:57 PDT 2025
================
@@ -18835,6 +18835,8 @@ static SDValue tryFoldSelectIntoOp(SDNode *N, SelectionDAG &DAG,
case ISD::ADD:
case ISD::OR:
case ISD::XOR:
+ case ISD::UMIN:
+ case ISD::UMAX:
----------------
topperc wrote:
This is mentioned in the description "smin/smax are a bit harder, and will be a separate change."
https://github.com/llvm/llvm-project/pull/157548
More information about the llvm-commits
mailing list