[llvm] [VPlan] Simplify before convertToConcreteRecipes, remove SCALAR-STEPS. (PR #123655)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 13:51:16 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());
----------------
fhahn wrote:
Do you mean just exposing it in VPlanTransforms.h without adding new users outside of VPlanTransforms.cpp?
https://github.com/llvm/llvm-project/pull/123655
More information about the llvm-commits
mailing list