Skip to content

Commit f93377d

Browse files
[tests/codegen/vector_init] Fix qnan matching (#5270)
1 parent 802e6cd commit f93377d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/codegen/vector_init.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
alias D2 = __vector(double[2]);
55

66
// CHECK: @{{.*}}_D11vector_init12ImplicitInit6__initZ{{\"?}} =
7-
// CHECK-SAME: { <2 x double> {{<double 0x7FF8000000000000, double 0x7FF8000000000000>|splat \(double 0x7FF8000000000000\)}} }
7+
// CHECK-SAME: { <2 x double> {{<double 0x7FF8000000000000, double 0x7FF8000000000000>|splat \(double (0x7FF8000000000000|\+qnan)\)}} }
88
struct ImplicitInit { D2 a; }
99

1010
// CHECK: @{{.*}}_D11vector_init12ExplicitInit6__initZ{{\"?}} =
11-
// CHECK-SAME: { <2 x double> {{<double 0x7FF8000000000000, double 0x7FF8000000000000>|splat \(double 0x7FF8000000000000\)}} }
11+
// CHECK-SAME: { <2 x double> {{<double 0x7FF8000000000000, double 0x7FF8000000000000>|splat \(double (0x7FF8000000000000|\+qnan)\)}} }
1212
struct ExplicitInit { D2 a = D2.init; }
1313

1414
// CHECK: @{{.*}}_D11vector_init10SplatValue6__initZ{{\"?}} =

0 commit comments

Comments
 (0)