Skip to content

Commit 9e3705d

Browse files
committed
Replace undef (deprecated) with poison in test
1 parent c917f77 commit 9e3705d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/AArch64/aarch64-dup-ext.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ define <2 x i32> @dupzext_v2i32_v2i64_trunc(i32 %src, <2 x i32> %b) {
184184
entry:
185185
%in = zext i32 %src to i64
186186
%ext.b = zext <2 x i32> %b to <2 x i64>
187-
%broadcast.splatinsert = insertelement <2 x i64> undef, i64 %in, i64 0
188-
%broadcast.splat = shufflevector <2 x i64> %broadcast.splatinsert, <2 x i64> undef, <2 x i32> zeroinitializer
187+
%broadcast.splatinsert = insertelement <2 x i64> poison, i64 %in, i64 0
188+
%broadcast.splat = shufflevector <2 x i64> %broadcast.splatinsert, <2 x i64> poison, <2 x i32> zeroinitializer
189189
%prod = mul nuw <2 x i64> %broadcast.splat, %ext.b
190190
%out = trunc <2 x i64> %prod to <2 x i32>
191191
ret <2 x i32> %out

0 commit comments

Comments
 (0)