[llvm] [LV] Reduce register usage for scaled reductions (PR #133090)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 06:55:28 PDT 2025


================
@@ -2,6 +2,7 @@
 ; RUN: opt -passes=loop-vectorize -enable-epilogue-vectorization=false -mattr=+neon,+dotprod -force-vector-interleave=1 -S < %s | FileCheck %s --check-prefixes=CHECK-INTERLEAVE1
 ; RUN: opt -passes=loop-vectorize -enable-epilogue-vectorization=false -mattr=+neon,+dotprod -S < %s | FileCheck %s --check-prefixes=CHECK-INTERLEAVED
 ; RUN: opt -passes=loop-vectorize -enable-epilogue-vectorization=false -mattr=+neon,+dotprod -force-vector-interleave=1 -vectorizer-maximize-bandwidth -S < %s | FileCheck %s --check-prefixes=CHECK-MAXBW
+; RUN: opt -passes=loop-vectorize -debug-only=loop-vectorize --disable-output -S < %s 2>&1 | FileCheck %s --check-prefix=CHECK-REGS
----------------
fhahn wrote:

This is just checkoing the debug output for a single function, right? Might be better to move to the existing `llvm/test/Transforms/LoopVectorize/AArch64/reg-usage.ll` if possible

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


More information about the llvm-commits mailing list