Skip to content

Commit

Permalink
[VPlan] Remove now redundant VF assertion.
Browse files Browse the repository at this point in the history
The assertion was added in preparation for
#9882. Remove assertion now
the PR has landed.
  • Loading branch information
fhahn committed Jul 26, 2024
1 parent 7ebd97b commit 5a9b9ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10029,7 +10029,6 @@ bool LoopVectorizePass::processLoop(Loop *L) {
EpilogueVectorizerMainLoop MainILV(L, PSE, LI, DT, TLI, TTI, AC, ORE,
EPI, &LVL, &CM, BFI, PSI, Checks);

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

0 comments on commit 5a9b9ef

Please sign in to comment.