[llvm] [VPlan] Model initial header mask as region value. (PR #196199)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 04:35:33 PDT 2026


================
@@ -171,13 +134,6 @@ const SCEV *vputils::getSCEVExprForVPValue(const VPValue *V,
                                            PredicatedScalarEvolution &PSE,
                                            const Loop *L) {
   ScalarEvolution &SE = *PSE.getSE();
-  if (isa<VPIRValue, VPSymbolicValue>(V)) {
-    Value *LiveIn = V->getUnderlyingValue();
-    if (LiveIn && SE.isSCEVable(LiveIn->getType()))
-      return SE.getSCEV(LiveIn);
-    return SE.getCouldNotCompute();
-  }
-
   if (auto *RV = dyn_cast<VPRegionValue>(V)) {
     assert(RV == RV->getDefiningRegion()->getCanonicalIV() &&
            "RegionValue must be canonical IV");
----------------
fhahn wrote:

Currently I do not think so

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


More information about the llvm-commits mailing list