[llvm] [VPlan] Update final IV exit value via VPlan. (PR #112147)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 17 13:26:26 PST 2025


================
@@ -9397,7 +9216,8 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
     VPlanTransforms::handleUncountableEarlyExit(
         *Plan, *PSE.getSE(), OrigLoop, UncountableExitingBlock, RecipeBuilder);
   }
-  addScalarResumePhis(RecipeBuilder, *Plan);
+  DenseMap<VPValue *, VPValue *> IVEndValues;
+  addScalarResumePhis(RecipeBuilder, *Plan, IVEndValues);
----------------
fhahn wrote:

Added where addResumePhiRecipeForInduction is called, thanks

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


More information about the llvm-commits mailing list