[llvm] 5a9b9ef - [VPlan] Remove now redundant VF assertion.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 13:28:10 PDT 2024
Author: Florian Hahn
Date: 2024-07-26T21:25:33+01:00
New Revision: 5a9b9ef66084c84fe4cbe71f0bace82498b13def
URL: https://github.com/llvm/llvm-project/commit/5a9b9ef66084c84fe4cbe71f0bace82498b13def
DIFF: https://github.com/llvm/llvm-project/commit/5a9b9ef66084c84fe4cbe71f0bace82498b13def.diff
LOG: [VPlan] Remove now redundant VF assertion.
The assertion was added in preparation for
https://github.com/llvm/llvm-project/pull/9882. Remove assertion now
the PR has landed.
Added:
Modified:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 9733ac073eedd..63f7f4620a55f 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -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);
More information about the llvm-commits
mailing list