[llvm] [LoopVectorize] Add the cost of VPInstruction::AnyOf to vplan (PR #125058)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 4 07:54:12 PST 2025
================
@@ -7539,7 +7539,7 @@ VectorizationFactor LoopVectorizationPlanner::computeBestVF() {
CM.CostKind);
precomputeCosts(BestPlan, BestFactor.Width, CostCtx);
assert((BestFactor.Width == LegacyVF.Width ||
- Legal->hasUncountableEarlyExit() ||
+ BestPlan.hasRegionWithEarlyExit() ||
----------------
fhahn wrote:
I think it would probably be best to inline things for now, and reconsider after more uses arise. Maybe things will get clearer then
https://github.com/llvm/llvm-project/pull/125058
More information about the llvm-commits
mailing list