[llvm] [AArch64] Account for fixed-SVE high-lane insertelement/extractelement costs (PR #219244)

Gaƫtan Bossu via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 01:03:14 PDT 2026


================
@@ -0,0 +1,25 @@
+; RUN: opt -passes=loop-vectorize -debug-only=loop-vectorize -mtriple=aarch64-unknown-linux-gnu -mattr=+sve2 \
+; RUN:     -aarch64-sve-vector-bits-min=256 -aarch64-sve-vector-bits-max=256 \
+; RUN:     -disable-output < %s 2>&1 | FileCheck %s --check-prefix=DEBUG
----------------
gbossu wrote:

Note: When using debug logs, tests should be marked as "requiring asserts" with `; REQUIRES: asserts`

However, in that case, maybe a "plain" LoopVectorizer test where you just vectorise the output IR is sufficient?

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


More information about the llvm-commits mailing list