Skip to content

Commit 5a9b9ef

Browse files
committed
[VPlan] Remove now redundant VF assertion.
The assertion was added in preparation for #9882. Remove assertion now the PR has landed.
1 parent 7ebd97b commit 5a9b9ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10029,7 +10029,6 @@ bool LoopVectorizePass::processLoop(Loop *L) {
1002910029
EpilogueVectorizerMainLoop MainILV(L, PSE, LI, DT, TLI, TTI, AC, ORE,
1003010030
EPI, &LVL, &CM, BFI, PSI, Checks);
1003110031

10032-
assert(EPI.MainLoopVF == VF.Width && "VFs must match");
1003310032
std::unique_ptr<VPlan> BestMainPlan(BestPlan.duplicate());
1003410033
const auto &[ExpandedSCEVs, ReductionResumeValues] = LVP.executePlan(
1003510034
EPI.MainLoopVF, EPI.MainLoopUF, *BestMainPlan, MainILV, DT, true);

0 commit comments

Comments
 (0)