Skip to content

Commit 2a53358

Browse files
committed
[RISCV] Add a comment to clarify purpose of a test from 93b8ef
1 parent 8e773d8 commit 2a53358

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-zipeven-zipodd.ll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ entry:
120120
ret <4 x i32> %c
121121
}
122122

123+
; This is the zipeven pattern with a poison second operand. That happens
124+
; to also be described as an identity shuffle, so this is testing that we
125+
; don't emit the zipeven instruction.
123126
define <4 x i32> @zipeven_v4i32_single(<4 x i32> %a) {
124127
; CHECK-LABEL: zipeven_v4i32_single:
125128
; CHECK: # %bb.0: # %entry
@@ -129,6 +132,9 @@ entry:
129132
ret <4 x i32> %c
130133
}
131134

135+
; This is the zipodd pattern with a poison second operand. That happens
136+
; to also be described as a single slide, so this is testing that we
137+
; don't emit the zipodd instruction.
132138
define <4 x i32> @zipodd_v4i32_single(<4 x i32> %a) {
133139
; CHECK-LABEL: zipodd_v4i32_single:
134140
; CHECK: # %bb.0: # %entry

0 commit comments

Comments
 (0)