Skip to content

Commit 67fb3ea

Browse files
committed
undef > poison
1 parent 76bfc78 commit 67fb3ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/CodeGen/AArch64/fixed-subvector-insert-into-scalable.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ define <vscale x 4 x i32> @insert_div() {
77
; CHECK-NEXT: mov z0.s, #3 // =0x3
88
; CHECK-NEXT: ret
99
entry:
10-
%0 = tail call <vscale x 4 x i32> @llvm.vector.insert.nxv4i32.v4i32(<vscale x 4 x i32> undef, <4 x i32> splat (i32 9), i64 0)
10+
%0 = tail call <vscale x 4 x i32> @llvm.vector.insert.nxv4i32.v4i32(<vscale x 4 x i32> poison, <4 x i32> splat (i32 9), i64 0)
1111
%div = udiv <vscale x 4 x i32> %0, splat (i32 3)
1212
ret <vscale x 4 x i32> %div
1313
}
@@ -18,7 +18,7 @@ define <vscale x 4 x i32> @insert_mul() {
1818
; CHECK-NEXT: mov z0.s, #7 // =0x7
1919
; CHECK-NEXT: ret
2020
entry:
21-
%0 = tail call <vscale x 4 x i32> @llvm.vector.insert.nxv4i32.v4i32(<vscale x 4 x i32> undef, <4 x i32> splat (i32 1), i64 0)
21+
%0 = tail call <vscale x 4 x i32> @llvm.vector.insert.nxv4i32.v4i32(<vscale x 4 x i32> poison, <4 x i32> splat (i32 1), i64 0)
2222
%mul = mul <vscale x 4 x i32> %0, splat (i32 7)
2323
ret <vscale x 4 x i32> %mul
2424
}
@@ -29,7 +29,7 @@ define <vscale x 4 x i32> @insert_add() {
2929
; CHECK-NEXT: mov z0.s, #16 // =0x10
3030
; CHECK-NEXT: ret
3131
entry:
32-
%0 = tail call <vscale x 4 x i32> @llvm.vector.insert.nxv4i32.v4i32(<vscale x 4 x i32> undef, <4 x i32> splat (i32 5), i64 0)
32+
%0 = tail call <vscale x 4 x i32> @llvm.vector.insert.nxv4i32.v4i32(<vscale x 4 x i32> poison, <4 x i32> splat (i32 5), i64 0)
3333
%add = add <vscale x 4 x i32> %0, splat (i32 11)
3434
ret <vscale x 4 x i32> %add
3535
}
@@ -40,7 +40,7 @@ define <vscale x 4 x i32> @insert_sub() {
4040
; CHECK-NEXT: movi v0.2d, #0000000000000000
4141
; CHECK-NEXT: ret
4242
entry:
43-
%0 = tail call <vscale x 4 x i32> @llvm.vector.insert.nxv4i32.v4i32(<vscale x 4 x i32> undef, <4 x i32> splat (i32 11), i64 0)
43+
%0 = tail call <vscale x 4 x i32> @llvm.vector.insert.nxv4i32.v4i32(<vscale x 4 x i32> poison, <4 x i32> splat (i32 11), i64 0)
4444
%sub = add <vscale x 4 x i32> %0, splat (i32 -11)
4545
ret <vscale x 4 x i32> %sub
4646
}

0 commit comments

Comments
 (0)