[llvm] [SelectionDAG] Add ISD::VSELECT to SelectionDAG::canCreateUndefOrPoison. (PR #143760)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 12 15:30:08 PDT 2025


================
@@ -5553,6 +5553,7 @@ bool SelectionDAG::canCreateUndefOrPoison(SDValue Op, const APInt &DemandedElts,
   case ISD::BUILD_VECTOR:
   case ISD::BUILD_PAIR:
   case ISD::SPLAT_VECTOR:
+  case ISD::VSELECT:
----------------
topperc wrote:

I think it should be ok, I just assumed some number of tests would need to be updated and reviewed and I haven't tried yet. VSELECT happened to be what I was looking at the time.

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


More information about the llvm-commits mailing list