[llvm] [VPlan] Simplify before covnertToConcreteRecipes, remove SCALAR-STEPS. (PR #123655)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 09:36:35 PST 2025


================
@@ -7652,6 +7652,8 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
   VPlanTransforms::unrollByUF(BestVPlan, BestUF,
                               OrigLoop->getHeader()->getContext());
   VPlanTransforms::optimizeForVFAndUF(BestVPlan, BestVF, BestUF, PSE);
+  VPlanTransforms::simplifyRecipes(BestVPlan, Legal->getWidestInductionType());
----------------
david-arm wrote:

It looks like the code to refactor simplifyRecipes could actually be its own NFC patch, right?

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


More information about the llvm-commits mailing list