[llvm] [VPlan] Run removeDeadRecipes early. (PR #190191)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 08:35:26 PDT 2026
================
@@ -8182,6 +8183,10 @@ VPlanPtr LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(
Range);
}
+ // Ensure scalar VF plans only contain VF=1, as required by hasScalarVFOnly.
+ if (Range.Start.isScalar())
+ Range.End = Range.Start * 2;
----------------
lukel97 wrote:
Is this meant to be in this PR? There's a surprising amount of test diffs
https://github.com/llvm/llvm-project/pull/190191
More information about the llvm-commits
mailing list