[llvm] [LV] Add a statistic for early exit vectorization (PR #145730)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 27 01:16:46 PDT 2025
================
@@ -7324,6 +7325,11 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
"Trying to execute plan with unsupported VF");
assert(BestVPlan.hasUF(BestUF) &&
"Trying to execute plan with unsupported UF");
+ ++LoopsVectorized;
----------------
fhahn wrote:
Would be good to leave the other increments as-is for now.
Doesn't this change now increments LoopsVectorized twice per loop if the epilogue gets vectorized?
https://github.com/llvm/llvm-project/pull/145730
More information about the llvm-commits
mailing list