[llvm] DAG: Use poison instead of undef in SimplifyDemandedVectorElts (PR #207788)

Björn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 01:58:20 PDT 2026


================
@@ -3519,7 +3519,7 @@ bool TargetLowering::SimplifyDemandedVectorElts(
     // If none of the src operand elements are demanded, replace it with undef.
     if (!DemandedSrcElts && !Src.isUndef())
----------------
bjope wrote:

Also turn UNDEF->POISON?

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


More information about the llvm-commits mailing list