4
4
alias D2 = __vector (double [2 ]);
5
5
6
6
// 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\)}} }
8
8
struct ImplicitInit { D2 a; }
9
9
10
10
// 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\)}} }
12
12
struct ExplicitInit { D2 a = D2 .init; }
13
13
14
14
// 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\)}} }
16
16
struct SplatValue { D2 a = 1.0 ; }
17
17
18
18
// CHECK: @{{.*}}_D11vector_init13ElementValues6__initZ{{\"?}} =
@@ -31,7 +31,7 @@ void foo()
31
31
// CHECK-NEXT: %d2 = alloca <2 x double>
32
32
// CHECK-NEXT: store <16 x i8> zeroinitializer, ptr %v16
33
33
// 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
35
35
// CHECK-NEXT: ret void
36
36
void16 v16;
37
37
short8 s8 = [1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 ];
0 commit comments