[llvm] [DAG] SelectionDAG::canCreateUndefOrPoison - add ISD::SCMP/UCMP handling + tests (PR #154127)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 09:11:35 PDT 2025


================
@@ -5748,6 +5748,8 @@ bool SelectionDAG::canCreateUndefOrPoison(SDValue Op, const APInt &DemandedElts,
   case ISD::FMA:
   case ISD::FMAD:
   case ISD::FP_EXTEND:
+  case ISD::SCMP:
+  case ISD::UCMP:
----------------
Temperz87 wrote:

I have moved these cases over

https://github.com/llvm/llvm-project/pull/154127


More information about the llvm-commits mailing list