[llvm] [LV] Add a statistic for early exit vectorization (PR #145730)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 7 07:13:09 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;
----------------
annamthomas wrote:
ah, yes.
Also, there are a bunch of other calls to executePlan in native vplan path.
https://github.com/llvm/llvm-project/pull/145730
More information about the llvm-commits
mailing list