[llvm] [LV] Fix gap mask requirement for interleaved access (PR #151105)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 29 03:58:04 PDT 2025
================
@@ -0,0 +1,65 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -mtriple=riscv64 -mattr=+v -passes=loop-vectorize -mattr=+v \
+; RUN: -scalable-vectorization=off -enable-masked-interleaved-mem-accesses \
+; RUN: -force-vector-interleave=1 -riscv-v-vector-bits-min=1024 -S < %s | FileCheck %s
+
+define void @store_factor_2_with_tail_gap(i64 %n, ptr %a) {
----------------
fhahn wrote:
Can we also have a target-independent test that checks for the mask?
https://github.com/llvm/llvm-project/pull/151105
More information about the llvm-commits
mailing list