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

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 12:05:03 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);
----------------
ayalz wrote:

ok. Worth leaving behind a TODO somewhere.

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


More information about the llvm-commits mailing list