[llvm] [VPlan] Run more passes through `RUN_VPLAN_PASS[_NO_VERIFY]` (PR #180580)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 11 00:48:12 PST 2026
================
@@ -7429,9 +7429,10 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
// Retrieving VectorPH now when it's easier while VPlan still has Regions.
VPBasicBlock *VectorPH = cast<VPBasicBlock>(BestVPlan.getVectorPreheader());
- VPlanTransforms::optimizeForVFAndUF(BestVPlan, BestVF, BestUF, PSE);
- VPlanTransforms::simplifyRecipes(BestVPlan);
- VPlanTransforms::removeBranchOnConst(BestVPlan);
+ RUN_VPLAN_PASS_NO_VERIFY(VPlanTransforms::optimizeForVFAndUF, BestVPlan,
----------------
artagnon wrote:
I think VPLAN_PASS(_NO_VERIFY) is a decent suggestion, but I would stay away from #define and #undef -- I think it's already bad enough that we used macros in the first place.
https://github.com/llvm/llvm-project/pull/180580
More information about the llvm-commits
mailing list