[llvm] [LV] Add a statistic for early exit vectorization (PR #145730)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 10 08:18:11 PDT 2025


================
@@ -1,12 +1,12 @@
-; RUN: opt < %s -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=4 -debug-only=loop-vectorize --disable-output -stats -S 2>&1 | FileCheck %s
+; RUN: opt < %s -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=4 -debug-only=loop-vectorize -enable-early-exit-vectorization --disable-output -stats -S 2>&1 | FileCheck %s
----------------
annamthomas wrote:

hmm, @david-arm, I actually prefer to have the option left in for 2 reasons:
1. Easier to see which lit tests are affected by early-exit vectorization. We have a bunch of them with the option on and it helps to see what tests already exist.
2. after the option is baked-in for a release or so, it makes sense to remove the option for all the tests, since we don't want to keep adding ON-by-default options in tests

Thoughts?

https://github.com/llvm/llvm-project/pull/145730


More information about the llvm-commits mailing list