[llvm] [VPlan] Don't reset canonical IV start value. (PR #161589)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 9 02:53:40 PDT 2025


================
@@ -1234,6 +1234,17 @@ static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) {
   if (!Plan->isUnrolled())
     return;
 
----------------
ayalz wrote:

```suggestion

  // Hoist an invariant increment Y of a canonical IV phi X, by having X start at Y. 
```

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


More information about the llvm-commits mailing list