[llvm] [IA][RISCV] Detecting gap mask from a mask assembled by interleaveN intrinsics (PR #153510)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 13 22:22:40 PDT 2025


================
@@ -205,6 +205,23 @@ define {<4 x i32>, <4 x i32>} @vpload_factor2_interleaved_mask_intrinsic(ptr %pt
   ret {<4 x i32>, <4 x i32>} %res1
 }
 
+define {<2 x i32>, <2 x i32>} @vpload_factor4_interleaved_mask_intrinsic_skip_fields(ptr %ptr, <2 x i1> %m) {
+  ; mask = %m, skip the last two fields.
----------------
lukel97 wrote:

Nit
```suggestion
; mask = %m, skip the last two fields.
define {<2 x i32>, <2 x i32>} @vpload_factor4_interleaved_mask_intrinsic_skip_fields(ptr %ptr, <2 x i1> %m) {
```

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


More information about the llvm-commits mailing list