| Issue |
169948
|
| Summary |
[LLVM][RISCV][ICE] LoopVectorize Assertion Failure in computeBestVF()
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
whileone-sk
|
llvm::LoopVectorizationPlanner::computeBestVF(): Assertion `(BestFactor.Width == LegacyVF.Width || BestPlan.hasEarlyExit() || !Legal->getLAI()->getSymbolicStrides().empty() || 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.
RUN script red-e0c444.sh to reproduce the issue.
[red-e0c444.sh](https://github.com/user-attachments/files/23827986/red-e0c444.sh)
[red-e0c444.c](https://github.com/user-attachments/files/23827993/red-e0c444.c)
Attached backtrace.
[verbose-log.txt](https://github.com/user-attachments/files/23828005/verbose-log.txt)
Reduced testcase.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs