44alias D2 = __vector (double [2 ]);
55
66// CHECK: @{{.*}}_D11vector_init12ImplicitInit6__initZ{{\"?}} =
7- // CHECK-SAME: { <2 x double> <double 0x7FF8000000000000, double 0x7FF8000000000000> }
7+ // CHECK-SAME: { <2 x double> {{ <double 0x7FF8000000000000, double 0x7FF8000000000000>|splat \(double 0x7FF8000000000000\)}} }
88struct ImplicitInit { D2 a; }
99
1010// CHECK: @{{.*}}_D11vector_init12ExplicitInit6__initZ{{\"?}} =
11- // CHECK-SAME: { <2 x double> <double 0x7FF8000000000000, double 0x7FF8000000000000> }
11+ // CHECK-SAME: { <2 x double> {{ <double 0x7FF8000000000000, double 0x7FF8000000000000>|splat \(double 0x7FF8000000000000\)}} }
1212struct ExplicitInit { D2 a = D2 .init; }
1313
1414// CHECK: @{{.*}}_D11vector_init10SplatValue6__initZ{{\"?}} =
15- // CHECK-SAME: { <2 x double> <double 1.000000e+00, double 1.000000e+00> }
15+ // CHECK-SAME: { <2 x double> {{ <double 1\ .000000e\ +00, double 1\ .000000e\ +00>|splat \(double 1\.000000e\+00\)}} }
1616struct SplatValue { D2 a = 1.0 ; }
1717
1818// CHECK: @{{.*}}_D11vector_init13ElementValues6__initZ{{\"?}} =
@@ -31,7 +31,7 @@ void foo()
3131 // CHECK-NEXT: %d2 = alloca <2 x double>
3232 // CHECK-NEXT: store <16 x i8> zeroinitializer, ptr %v16
3333 // CHECK-NEXT: store <8 x i16> <i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7, i16 8>, ptr %s8
34- // CHECK-NEXT: store <2 x double> <double 1.500000e+00, double 1.500000e+00>, ptr %d2
34+ // CHECK-NEXT: store <2 x double> {{ <double 1\ .500000e\ +00, double 1\ .500000e\ +00>|splat \(double 1\.500000e\+00\)}} , ptr %d2
3535 // CHECK-NEXT: ret void
3636 void16 v16;
3737 short8 s8 = [1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 ];
0 commit comments