@@ -64,7 +64,7 @@ define amdgpu_ps { i32, i32 } @s_andn2_i32_multi_use(i32 inreg %src0, i32 inreg
6464; GFX11-NEXT: ; return to shader part epilog
6565 %not.src1 = xor i32 %src1 , -1
6666 %and = and i32 %src0 , %not.src1
67- %insert.0 = insertvalue { i32 , i32 } undef , i32 %and , 0
67+ %insert.0 = insertvalue { i32 , i32 } poison , i32 %and , 0
6868 %insert.1 = insertvalue { i32 , i32 } %insert.0 , i32 %not.src1 , 1
6969 ret { i32 , i32 } %insert.1
7070}
@@ -90,7 +90,7 @@ define amdgpu_ps { i32, i32 } @s_andn2_i32_multi_foldable_use(i32 inreg %src0, i
9090 %not.src2 = xor i32 %src2 , -1
9191 %and0 = and i32 %src0 , %not.src2
9292 %and1 = and i32 %src1 , %not.src2
93- %insert.0 = insertvalue { i32 , i32 } undef , i32 %and0 , 0
93+ %insert.0 = insertvalue { i32 , i32 } poison , i32 %and0 , 0
9494 %insert.1 = insertvalue { i32 , i32 } %insert.0 , i32 %and1 , 1
9595 ret { i32 , i32 } %insert.1
9696}
@@ -211,7 +211,7 @@ define amdgpu_ps { i64, i64 } @s_andn2_i64_multi_foldable_use(i64 inreg %src0, i
211211 %not.src2 = xor i64 %src2 , -1
212212 %and0 = and i64 %src0 , %not.src2
213213 %and1 = and i64 %src1 , %not.src2
214- %insert.0 = insertvalue { i64 , i64 } undef , i64 %and0 , 0
214+ %insert.0 = insertvalue { i64 , i64 } poison , i64 %and0 , 0
215215 %insert.1 = insertvalue { i64 , i64 } %insert.0 , i64 %and1 , 1
216216 ret { i64 , i64 } %insert.1
217217}
@@ -238,7 +238,7 @@ define amdgpu_ps { i64, i64 } @s_andn2_i64_multi_use(i64 inreg %src0, i64 inreg
238238; GFX11-NEXT: ; return to shader part epilog
239239 %not.src1 = xor i64 %src1 , -1
240240 %and = and i64 %src0 , %not.src1
241- %insert.0 = insertvalue { i64 , i64 } undef , i64 %and , 0
241+ %insert.0 = insertvalue { i64 , i64 } poison , i64 %and , 0
242242 %insert.1 = insertvalue { i64 , i64 } %insert.0 , i64 %not.src1 , 1
243243 ret { i64 , i64 } %insert.1
244244}
@@ -408,7 +408,7 @@ define amdgpu_ps { i16, i16 } @s_andn2_i16_multi_use(i16 inreg %src0, i16 inreg
408408; GFX11-NEXT: ; return to shader part epilog
409409 %not.src1 = xor i16 %src1 , -1
410410 %and = and i16 %src0 , %not.src1
411- %insert.0 = insertvalue { i16 , i16 } undef , i16 %and , 0
411+ %insert.0 = insertvalue { i16 , i16 } poison , i16 %and , 0
412412 %insert.1 = insertvalue { i16 , i16 } %insert.0 , i16 %not.src1 , 1
413413 ret { i16 , i16 } %insert.1
414414}
@@ -434,7 +434,7 @@ define amdgpu_ps { i16, i16 } @s_andn2_i16_multi_foldable_use(i16 inreg %src0, i
434434 %not.src2 = xor i16 %src2 , -1
435435 %and0 = and i16 %src0 , %not.src2
436436 %and1 = and i16 %src1 , %not.src2
437- %insert.0 = insertvalue { i16 , i16 } undef , i16 %and0 , 0
437+ %insert.0 = insertvalue { i16 , i16 } poison , i16 %and0 , 0
438438 %insert.1 = insertvalue { i16 , i16 } %insert.0 , i16 %and1 , 1
439439 ret { i16 , i16 } %insert.1
440440}
@@ -601,7 +601,7 @@ define amdgpu_ps { i32, i32 } @s_andn2_v2i16_multi_use(<2 x i16> inreg %src0, <2
601601
602602 %cast.0 = bitcast <2 x i16 > %and to i32
603603 %cast.1 = bitcast <2 x i16 > %not.src1 to i32
604- %insert.0 = insertvalue { i32 , i32 } undef , i32 %cast.0 , 0
604+ %insert.0 = insertvalue { i32 , i32 } poison , i32 %cast.0 , 0
605605 %insert.1 = insertvalue { i32 , i32 } %insert.0 , i32 %cast.1 , 1
606606 ret { i32 , i32 } %insert.1
607607}
@@ -646,7 +646,7 @@ define amdgpu_ps { i32, i32 } @s_andn2_v2i16_multi_foldable_use(<2 x i16> inreg
646646
647647 %cast.0 = bitcast <2 x i16 > %and0 to i32
648648 %cast.1 = bitcast <2 x i16 > %and1 to i32
649- %insert.0 = insertvalue { i32 , i32 } undef , i32 %cast.0 , 0
649+ %insert.0 = insertvalue { i32 , i32 } poison , i32 %cast.0 , 0
650650 %insert.1 = insertvalue { i32 , i32 } %insert.0 , i32 %cast.1 , 1
651651 ret { i32 , i32 } %insert.1
652652}
@@ -857,7 +857,7 @@ define amdgpu_ps { i48, i48 } @s_andn2_v3i16_multi_use(<3 x i16> inreg %src0, <3
857857 %and = and <3 x i16 > %src0 , %not.src1
858858 %cast.0 = bitcast <3 x i16 > %and to i48
859859 %cast.1 = bitcast <3 x i16 > %not.src1 to i48
860- %insert.0 = insertvalue { i48 , i48 } undef , i48 %cast.0 , 0
860+ %insert.0 = insertvalue { i48 , i48 } poison , i48 %cast.0 , 0
861861 %insert.1 = insertvalue { i48 , i48 } %insert.0 , i48 %cast.1 , 1
862862 ret { i48 , i48 } %insert.1
863863}
@@ -1028,7 +1028,7 @@ define amdgpu_ps { i64, i64 } @s_andn2_v4i16_multi_use(<4 x i16> inreg %src0, <4
10281028
10291029 %cast.0 = bitcast <4 x i16 > %and to i64
10301030 %cast.1 = bitcast <4 x i16 > %not.src1 to i64
1031- %insert.0 = insertvalue { i64 , i64 } undef , i64 %cast.0 , 0
1031+ %insert.0 = insertvalue { i64 , i64 } poison , i64 %cast.0 , 0
10321032 %insert.1 = insertvalue { i64 , i64 } %insert.0 , i64 %cast.1 , 1
10331033 ret { i64 , i64 } %insert.1
10341034}
@@ -1082,7 +1082,7 @@ define amdgpu_ps { i64, i64 } @s_andn2_v4i16_multi_foldable_use(<4 x i16> inreg
10821082
10831083 %cast.0 = bitcast <4 x i16 > %and0 to i64
10841084 %cast.1 = bitcast <4 x i16 > %and1 to i64
1085- %insert.0 = insertvalue { i64 , i64 } undef , i64 %cast.0 , 0
1085+ %insert.0 = insertvalue { i64 , i64 } poison , i64 %cast.0 , 0
10861086 %insert.1 = insertvalue { i64 , i64 } %insert.0 , i64 %cast.1 , 1
10871087 ret { i64 , i64 } %insert.1
10881088}
0 commit comments