@@ -42,25 +42,25 @@ dynamic var replaceable_opaque_var: some P {
42
42
// CHECK-LABEL: define {{.*}} @"$s36opaque_result_type_metadata_peephole26testOpaqueMetadataAccessesyyF"
43
43
public func testOpaqueMetadataAccesses( ) {
44
44
// We can look through, since it's internal
45
- // DEFAULT: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* @"$sSiN", i8** @" $sSi36opaque_result_type_metadata_external1PAAWP")
45
+ // DEFAULT: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* @"$sSiN", i8** {{%[0-9]+|@"\ $sSi36opaque_result_type_metadata_external1PAAWP"}} )
46
46
// IMPLICIT-DYNAMIC: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* %{{.*}}, i8** %{{.*}})
47
47
bar ( x: foo ( ) )
48
48
// We can look through, since it's internal
49
- // DEFAULT: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* @"$sSiN", i8** @" $sSi36opaque_result_type_metadata_external1PAAWP")
49
+ // DEFAULT: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* @"$sSiN", i8** {{%[0-9]+|@"\ $sSi36opaque_result_type_metadata_external1PAAWP"}} )
50
50
// IMPLICIT-DYNAMIC: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* %{{.*}}, i8** %{{.*}})
51
51
bar ( x: foo2 ( ) )
52
52
// We can't look through, since it's resilient
53
53
// CHECK: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* %[[EXTERNAL_OPAQUE_METADATA:.*]], i8** %[[EXTERNAL_OPAQUE_PROTO:.*]])
54
54
bar ( x: external_opaque ( ) )
55
55
// We can look through, since it's inlinable
56
- // CHECK: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* @"$sSiN", i8** @" $sSi36opaque_result_type_metadata_external1PAAWP")
56
+ // CHECK: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* @"$sSiN", i8** {{%[0-9]+|@"\ $sSi36opaque_result_type_metadata_external1PAAWP"}} )
57
57
bar ( x: external_inlinable ( ) )
58
58
// We can look through to the wrapped resilient opaque type
59
59
// DEFAULT: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* %[[EXTERNAL_OPAQUE_METADATA]], i8** %[[EXTERNAL_OPAQUE_PROTO]])
60
60
// IMPLICIT-DYNAMIC: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* %{{.*}}, i8** %{{.*}})
61
61
bar ( x: external_opaque_wrap ( ) )
62
62
// We can look all the way through to the inlinable underlying type
63
- // DEFAULT: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* @"$sSiN", i8** @" $sSi36opaque_result_type_metadata_external1PAAWP")
63
+ // DEFAULT: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* @"$sSiN", i8** {{%[0-9]+|@"\ $sSi36opaque_result_type_metadata_external1PAAWP"}} )
64
64
// IMPLICIT-DYNAMIC: call {{.*}}3bar{{.*}}(%swift.opaque* {{.*}}, %swift.type* %{{.*}}, i8** %{{.*}})
65
65
bar ( x: external_inlinable_wrap ( ) )
66
66
0 commit comments