@@ -10,8 +10,8 @@ define <8 x i8> @test_avgceil_u(<8 x i16> %a, <8 x i16> %b) {
1010; CHECK-NEXT: uhadd v0.8b, v0.8b, v1.8b
1111; CHECK-NEXT: ret
1212
13- %mask = insertelement <8 x i16 > undef , i16 255 , i32 0
14- %mask.splat = shufflevector <8 x i16 > %mask , <8 x i16 > undef , <8 x i32 > zeroinitializer
13+ %mask = insertelement <8 x i16 > poison , i16 255 , i32 0
14+ %mask.splat = shufflevector <8 x i16 > %mask , <8 x i16 > poison , <8 x i32 > zeroinitializer
1515 %ta16 = and <8 x i16 > %a , %mask.splat
1616 %tb16 = and <8 x i16 > %b , %mask.splat
1717 %ta8 = trunc <8 x i16 > %ta16 to <8 x i8 >
@@ -29,10 +29,10 @@ define <8 x i8> @test_avgceil_s(<8 x i16> %a, <8 x i16> %b) {
2929; CHECK-NEXT: shadd v0.8b, v0.8b, v1.8b
3030; CHECK-NEXT: ret
3131
32- %smin = insertelement <8 x i16 > undef , i16 -128 , i32 0
33- %smax = insertelement <8 x i16 > undef , i16 127 , i32 0
34- %min = shufflevector <8 x i16 > %smin , <8 x i16 > undef , <8 x i32 > zeroinitializer
35- %max = shufflevector <8 x i16 > %smax , <8 x i16 > undef , <8 x i32 > zeroinitializer
32+ %smin = insertelement <8 x i16 > poison , i16 -128 , i32 0
33+ %smax = insertelement <8 x i16 > poison , i16 127 , i32 0
34+ %min = shufflevector <8 x i16 > %smin , <8 x i16 > poison , <8 x i32 > zeroinitializer
35+ %max = shufflevector <8 x i16 > %smax , <8 x i16 > poison , <8 x i32 > zeroinitializer
3636
3737 %ta16 = call <8 x i16 > @llvm.smin.v8i16 (<8 x i16 > %a , <8 x i16 > %max )
3838 %ta16.clamped = call <8 x i16 > @llvm.smax.v8i16 (<8 x i16 > %ta16 , <8 x i16 > %min )
@@ -73,10 +73,10 @@ define <8 x i8> @test_avgfloor_s(<8 x i16> %a, <8 x i16> %b) {
7373; CHECK-NEXT: srhadd v0.8b, v0.8b, v1.8b
7474; CHECK-NEXT: ret
7575
76- %smin = insertelement <8 x i16 > undef , i16 -128 , i32 0
77- %smax = insertelement <8 x i16 > undef , i16 127 , i32 0
78- %min = shufflevector <8 x i16 > %smin , <8 x i16 > undef , <8 x i32 > zeroinitializer
79- %max = shufflevector <8 x i16 > %smax , <8 x i16 > undef , <8 x i32 > zeroinitializer
76+ %smin = insertelement <8 x i16 > poison , i16 -128 , i32 0
77+ %smax = insertelement <8 x i16 > poison , i16 127 , i32 0
78+ %min = shufflevector <8 x i16 > %smin , <8 x i16 > poison , <8 x i32 > zeroinitializer
79+ %max = shufflevector <8 x i16 > %smax , <8 x i16 > poison , <8 x i32 > zeroinitializer
8080
8181 %ta16 = call <8 x i16 > @llvm.smin.v8i16 (<8 x i16 > %a , <8 x i16 > %max )
8282 %ta16.clamped = call <8 x i16 > @llvm.smax.v8i16 (<8 x i16 > %ta16 , <8 x i16 > %min )
0 commit comments