@@ -1791,9 +1791,9 @@ define <4 x i32> @PR46872(<4 x i32> %x) {
17911791
17921792define <vscale x 4 x i32 > @scalable_splat_binop_constant_rhs (<vscale x 4 x i32 > %x ) {
17931793; CHECK-LABEL: @scalable_splat_binop_constant_rhs(
1794- ; CHECK-NEXT: [[R :%.*]] = shufflevector <vscale x 4 x i32> [[TMP1 :%.*]], <vscale x 4 x i32> poison, <vscale x 4 x i32> zeroinitializer
1795- ; CHECK-NEXT: [[R1 :%.*]] = add <vscale x 4 x i32> [[R ]], splat ( i32 42)
1796- ; CHECK-NEXT: ret <vscale x 4 x i32> [[R1 ]]
1794+ ; CHECK-NEXT: [[R1 :%.*]] = add <vscale x 4 x i32> [[R :%.*]], splat ( i32 42)
1795+ ; CHECK-NEXT: [[R2 :%.*]] = shufflevector <vscale x 4 x i32> [[R1 ]], <vscale x 4 x i32> poison, <vscale x 4 x i32> zeroinitializer
1796+ ; CHECK-NEXT: ret <vscale x 4 x i32> [[R2 ]]
17971797;
17981798
17991799 %splatx = shufflevector <vscale x 4 x i32 > %x , <vscale x 4 x i32 > poison, <vscale x 4 x i32 > zeroinitializer
@@ -1803,9 +1803,9 @@ define <vscale x 4 x i32> @scalable_splat_binop_constant_rhs(<vscale x 4 x i32>
18031803
18041804define <vscale x 4 x float > @scalable_splat_binop_constant_lhs (<vscale x 4 x float > %x ) {
18051805; CHECK-LABEL: @scalable_splat_binop_constant_lhs(
1806- ; CHECK-NEXT: [[R :%.*]] = shufflevector <vscale x 4 x float> [[TMP1 :%.*]], <vscale x 4 x float> poison, <vscale x 4 x i32> zeroinitializer
1807- ; CHECK-NEXT: [[R1 :%.*]] = fadd <vscale x 4 x float> [[R ]], splat ( float 4.200000e+01)
1808- ; CHECK-NEXT: ret <vscale x 4 x float> [[R1 ]]
1806+ ; CHECK-NEXT: [[R1 :%.*]] = fadd <vscale x 4 x float> [[R :%.*]], splat ( float 4.200000e+01)
1807+ ; CHECK-NEXT: [[R2 :%.*]] = shufflevector <vscale x 4 x float> [[R1 ]], <vscale x 4 x float> poison, <vscale x 4 x i32> zeroinitializer
1808+ ; CHECK-NEXT: ret <vscale x 4 x float> [[R2 ]]
18091809;
18101810
18111811 %splatx = shufflevector <vscale x 4 x float > %x , <vscale x 4 x float > poison, <vscale x 4 x i32 > zeroinitializer
0 commit comments