[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:38 PST 2025


================
@@ -272,18 +264,20 @@ Type *VPTypeAnalysis::inferScalarType(const VPValue *V) {
     return CanonicalIVTy;
   }
 
+  if (auto *CanIV = dyn_cast<VPRegionValue>(V))
+    return CanonicalIVTy;
----------------
ayalz wrote:

All region values are expected to have the same type, is independent of their region...

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


More information about the llvm-commits mailing list