[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


================
@@ -3441,7 +3441,7 @@ bool TargetLowering::SimplifyDemandedVectorElts(
         bool Updated = false;
         for (unsigned i = 0; i != NumElts; ++i) {
           if (!DemandedElts[i] && !Ops[i].isUndef()) {
----------------
bjope wrote:

Also turn UNDEF->POISON?

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


More information about the llvm-commits mailing list