@@ -51,7 +51,7 @@ public func testConcrete() -> Any.Type {
51
51
// CHECK: [[T0:%.*]] = getelementptr inbounds [1 x i8*], [1 x i8*]* [[ARGS]], i32 0, i32 0
52
52
// CHECK: store i8* bitcast (%swift.type* @"$sSiN" to i8*), i8** [[T0]], align
53
53
// CHECK: [[T0:%.*]] = bitcast [1 x i8*]* [[ARGS]] to i8**
54
- // CHECK: [[CALL:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2Q0Rd__llXGoMq" to i8*), i8** [[T0]])
54
+ // CHECK: [[CALL:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2Q0Rd__llXGoMq{{(\.ptrauth)?}} " to i8*), i8** [[T0]])
55
55
// CHECK: store atomic %swift.type* [[CALL]], %swift.type** @"$s26existential_shape_metadata2Q0_pySiXPML" release, align
56
56
// CHECK: br label %[[CONT]]
57
57
// CHECK: [[CONT]]:
@@ -68,7 +68,7 @@ public func testDependent<T>(t: T.Type) -> Any.Type {
68
68
// CHECK: [[T1:%.*]] = bitcast %swift.type* %T to i8*
69
69
// CHECK: store i8* [[T1]], i8** [[T0]], align
70
70
// CHECK: [[T0:%.*]] = bitcast [1 x i8*]* [[ARGS]] to i8**
71
- // CHECK: [[METADATA:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2Q0Rd__llXGoMq" to i8*), i8** [[T0]])
71
+ // CHECK: [[METADATA:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2Q0Rd__llXGoMq{{(\.ptrauth)?}} " to i8*), i8** [[T0]])
72
72
// CHECK: ret %swift.type* [[METADATA]]
73
73
return ( any Q0 < T > ) . self
74
74
}
@@ -83,7 +83,7 @@ public func testComplexApplication<T>(t: T.Type) -> Any.Type {
83
83
// CHECK: [[T1:%.*]] = bitcast %swift.type* [[B_T]] to i8*
84
84
// CHECK: store i8* [[T1]], i8** [[T0]], align
85
85
// CHECK: [[T0:%.*]] = bitcast [1 x i8*]* [[ARGS]] to i8**
86
- // CHECK: [[METADATA:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2Q0Rd__llXGoMq" to i8*), i8** [[T0]])
86
+ // CHECK: [[METADATA:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2Q0Rd__llXGoMq{{(\.ptrauth)?}} " to i8*), i8** [[T0]])
87
87
// CHECK: ret %swift.type* [[METADATA]]
88
88
return ( any Q0 < B < T > > ) . self
89
89
}
@@ -97,7 +97,7 @@ public func test_private<T>(t: T.Type) -> Any.Type {
97
97
// CHECK: store i8* [[T1]], i8** [[T0]], align
98
98
// CHECK: [[T0:%.*]] = bitcast [1 x i8*]* [[ARGS]] to i8**
99
99
// FIXME: this should be unique?
100
- // CHECK: [[METADATA:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata_unique({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2R033_881A0B6978EB4286E7CFF1E27030ACACLLRd__llXGo" to i8*), i8** [[T0]])
100
+ // CHECK: [[METADATA:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata_unique({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2R033_881A0B6978EB4286E7CFF1E27030ACACLLRd__llXGo{{(\.ptrauth)?}} " to i8*), i8** [[T0]])
101
101
// CHECK: ret %swift.type* [[METADATA]]
102
102
return ( any R0 < T > ) . self
103
103
}
@@ -119,4 +119,4 @@ public func test_privateApplication<T>(t: T.Type) -> Any.Type {
119
119
// CHECK: [[T0:%.*]] = getelementptr inbounds [1 x i8*], [1 x i8*]* [[ARGS]], i32 0, i32 0
120
120
// CHECK: store i8* {{.*}}"$s26existential_shape_metadata1C33_881A0B6978EB4286E7CFF1E27030ACACLLVMf"{{.*}}, i8** [[T0]], align
121
121
// CHECK: [[T0:%.*]] = bitcast [1 x i8*]* [[ARGS]] to i8**
122
- // CHECK: [[METADATA:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2Q0Rd__llXGoMq" to i8*), i8** [[T0]])
122
+ // CHECK: [[METADATA:%.*]] = call %swift.type* @swift_getExtendedExistentialTypeMetadata({{.*}}@"$s1TQyd__Rsz26existential_shape_metadata2Q0Rd__llXGoMq{{(\.ptrauth)?}} " to i8*), i8** [[T0]])
0 commit comments