[llvm] [VPlan] Compute induction end values in VPlan. (PR #112145)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 14:45:34 PST 2024


================
@@ -8858,13 +8794,64 @@ static void addCanonicalIVRecipes(VPlan &Plan, Type *IdxTy, bool HasNUW,
                        {CanonicalIVIncrement, &Plan.getVectorTripCount()}, DL);
 }
 
+static VPValue *addResumeValuesForInduction(VPHeaderPHIRecipe *PhiR,
----------------
ayalz wrote:

```suggestion
/// ...
static VPValue *addResumePhiRecipeForInduction(VPHeaderPHIRecipe *PhiR,
```

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


More information about the llvm-commits mailing list