@@ -51,7 +51,7 @@ public func testConcrete() -> Any.Type {
5151 // CHECK: [[T0:%.*]] = getelementptr inbounds [1 x i8*], [1 x i8*]* [[ARGS]], i32 0, i32 0
5252 // CHECK: store i8* bitcast (%swift.type* @"$sSiN" to i8*), i8** [[T0]], align
5353 // 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]])
5555 // CHECK: store atomic %swift.type* [[CALL]], %swift.type** @"$s26existential_shape_metadata2Q0_pySiXPML" release, align
5656 // CHECK: br label %[[CONT]]
5757 // CHECK: [[CONT]]:
@@ -68,7 +68,7 @@ public func testDependent<T>(t: T.Type) -> Any.Type {
6868 // CHECK: [[T1:%.*]] = bitcast %swift.type* %T to i8*
6969 // CHECK: store i8* [[T1]], i8** [[T0]], align
7070 // 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]])
7272 // CHECK: ret %swift.type* [[METADATA]]
7373 return ( any Q0 < T > ) . self
7474}
@@ -83,7 +83,7 @@ public func testComplexApplication<T>(t: T.Type) -> Any.Type {
8383 // CHECK: [[T1:%.*]] = bitcast %swift.type* [[B_T]] to i8*
8484 // CHECK: store i8* [[T1]], i8** [[T0]], align
8585 // 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]])
8787 // CHECK: ret %swift.type* [[METADATA]]
8888 return ( any Q0 < B < T > > ) . self
8989}
@@ -97,7 +97,7 @@ public func test_private<T>(t: T.Type) -> Any.Type {
9797 // CHECK: store i8* [[T1]], i8** [[T0]], align
9898 // CHECK: [[T0:%.*]] = bitcast [1 x i8*]* [[ARGS]] to i8**
9999 // 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]])
101101 // CHECK: ret %swift.type* [[METADATA]]
102102 return ( any R0 < T > ) . self
103103}
@@ -119,4 +119,4 @@ public func test_privateApplication<T>(t: T.Type) -> Any.Type {
119119 // CHECK: [[T0:%.*]] = getelementptr inbounds [1 x i8*], [1 x i8*]* [[ARGS]], i32 0, i32 0
120120 // CHECK: store i8* {{.*}}"$s26existential_shape_metadata1C33_881A0B6978EB4286E7CFF1E27030ACACLLVMf"{{.*}}, i8** [[T0]], align
121121 // 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