[llvm] [RISCV][TTI] Enable masked interleave access for scalable vector (PR #149981)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 27 23:23:04 PDT 2025


Mel-Chen wrote:

> This is another instance of:
> 
> ```
> ../llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7126: llvm::VectorizationFactor llvm::LoopVectorizationPlanner::computeBestVF(): 
> Assertion `(BestFactor.Width == LegacyVF.Width || BestPlan.hasEarlyExit() || planContainsAdditionalSimplifications(getPlanFor(BestFactor.Width), CostCtx, OrigLoop, BestFactor.Width) || planContainsAdditionalSimplifications( getPlanFor(LegacyVF.Width), CostCtx, OrigLoop, LegacyVF.Width)) && " VPlan cost model and legacy cost model disagreed"' failed.
> ```

Thanks for the bug report! I’ll take a look.

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


More information about the llvm-commits mailing list