[llvm-branch-commits] [llvm] [LV][REVEC][AArch64] Proof of concept for re-vectorisation (PR #208213)
Florian Hahn via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 30 02:09:52 PDT 2026
================
@@ -0,0 +1,73 @@
+; RUN: opt -S -passes=loop-vectorize -mtriple=aarch64 -mattr=+sve \
+; RUN: -scalable-vectorization=on -force-vector-interleave=1 \
+; RUN: -vectorize-vector-loops < %s | FileCheck %s --check-prefix=IR
+; RUN: opt -disable-output -passes=loop-vectorize -mtriple=aarch64 -mattr=+sve \
+; RUN: -scalable-vectorization=on -force-vector-interleave=1 \
+; RUN: -vectorize-vector-loops -pass-remarks-analysis=loop-vectorize \
+; RUN: < %s 2>&1 | FileCheck %s --check-prefix=REMARKS
+
+; IR-LABEL: @insertelement_cost(
+; IR-NOT: vector.body:
+; REMARKS: loop not vectorized: instruction return type cannot be vectorized
+define void @insertelement_cost(ptr noalias nocapture noundef writeonly %a, ptr nocapture noundef readonly %b) {
----------------
fhahn wrote:
tests could be cleaned up, please check some other test files for conventions.
https://github.com/llvm/llvm-project/pull/208213
More information about the llvm-branch-commits
mailing list