Skip to content

Commit 4873eb1

Browse files
committed
switch to poison
1 parent b9e527c commit 4873eb1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/test/CodeGen/WebAssembly/half-precision.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -349,13 +349,13 @@ define <8 x half> @shuffle_v8f16(<8 x half> %x, <8 x half> %y) {
349349
ret <8 x half> %res
350350
}
351351

352-
define <8 x half> @shuffle_undef_v8f16(<8 x half> %x, <8 x half> %y) {
353-
; CHECK-LABEL: shuffle_undef_v8f16:
354-
; CHECK: .functype shuffle_undef_v8f16 (v128, v128) -> (v128)
352+
define <8 x half> @shuffle_poison_v8f16(<8 x half> %x, <8 x half> %y) {
353+
; CHECK-LABEL: shuffle_poison_v8f16:
354+
; CHECK: .functype shuffle_poison_v8f16 (v128, v128) -> (v128)
355355
; CHECK-NEXT: i8x16.shuffle $push0=, $0, $0, 2, 3, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1
356356
; CHECK-NEXT: return $pop0
357357
%res = shufflevector <8 x half> %x, <8 x half> %y,
358-
<8 x i32> <i32 1, i32 undef, i32 undef, i32 undef,
359-
i32 undef, i32 undef, i32 undef, i32 undef>
358+
<8 x i32> <i32 1, i32 poison, i32 poison, i32 poison,
359+
i32 poison, i32 poison, i32 poison, i32 poison>
360360
ret <8 x half> %res
361361
}

0 commit comments

Comments
 (0)