[llvm] [VPlan] Compute cost of more replicating loads/stores in ::computeCost. (PR #160053)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 9 11:03:50 PST 2025


ronlieb wrote:

Seen while compiling new GMR SPEC CPU 2026 release    829.abc_s
 
clang:  llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7096: llvm::VectorizationFact
or llvm::LoopVectorizationPlanner::computeBestVF(): Assertion `(BestFactor.Width == LegacyVF.Width || BestPlan.hasEarlyExit()
 || planContainsAdditionalSimplifications(getPlanFor(BestFactor.Width), CostCtx, OrigLoop, BestFactor.Width) || planContainsA
dditionalSimplifications( getPlanFor(LegacyVF.Width), CostCtx, OrigLoop, LegacyVF.Width)) && " VPlan cost model and legacy co
st model disagreed"' failed.


https://github.com/llvm/llvm-project/pull/160053


More information about the llvm-commits mailing list