[llvm] [LoopVectorize] Add the cost of VPInstruction::AnyOf to vplan (PR #125058)
    David Sherwood via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Feb  4 09:04:28 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() ||
----------------
david-arm wrote:
OK, done!
https://github.com/llvm/llvm-project/pull/125058
    
    
More information about the llvm-commits
mailing list