[llvm] [VPlan] Optimize more IV increment exit users by using a map (PR #147016)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 4 12:47:49 PDT 2025


================
@@ -8887,15 +8887,18 @@ VPlanPtr LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(
   // Update wide induction increments to use the same step as the corresponding
   // wide induction. This enables detecting induction increments directly in
   // VPlan and removes redundant splats.
+  DenseMap<VPValue *, VPWidenInductionRecipe *> MapIVs;
----------------
alexey-bataev wrote:

SmallDenseMap

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


More information about the llvm-commits mailing list