[llvm] [VPlan] Don't form VPInterleaveEVLRecipe for scalable gap-masked groups. (PR #213486)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 2 20:29:03 PDT 2026


================
@@ -0,0 +1,80 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals none --version 6
+; RUN: opt -S -passes=loop-vectorize -mtriple riscv64 -mattr=+v \
+; RUN:   -scalable-vectorization=on -force-vector-width=4 \
+; RUN:   -epilogue-vectorization-force-VF=2 %s | FileCheck %s
+
+define i8 @interleave_gap_mask_scalable_evl(ptr %src, ptr %dst) {
----------------
lukel97 wrote:

Nit to get rid of the scalar tail
```suggestion
define i8 @interleave_gap_mask_scalable_evl(ptr noalias %src, ptr noalias %dst) {
```

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


More information about the llvm-commits mailing list