[llvm] [VPlan] Make canonical IV part of the region (PR #156262)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 06:20:40 PST 2025


================
@@ -83,17 +83,19 @@ const SCEV *vputils::getSCEVExprForVPValue(const VPValue *V,
     return SE.getCouldNotCompute();
   }
 
+  if (auto *CanIV = dyn_cast<VPRegionValue>(V)) {
----------------
ayalz wrote:

This assumes every region value V is the canonical IV?

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


More information about the llvm-commits mailing list