@@ -248,10 +248,10 @@ public class OtherClass {
248
248
// CHECK: load [[S11]]
249
249
// CHECK: [[R2:%.*]] = ref_element_addr [[ARG]] : $OtherClass, #OtherClass.arg2
250
250
// CHECK: [[ACC2:%.*]] = begin_access [read] [static] [no_nested_conflict] [[R2]]
251
- // CHECK: copy_addr [[ACC2 ]] to [init] [[T1:%[0-9]*]]
252
- // CHECK: [[O2:%.* ]] = open_existential_addr immutable_access [[T1]] : $*any GenericPropProtocol to $*@opened("{{.*}}", any GenericPropProtocol) Self
251
+ // CHECK: [[O2:%.* ]] = open_existential_addr immutable_access [[ACC2]] : $*any GenericPropProtocol to $*@opened("{{.*}}", any GenericPropProtocol) Self
252
+ // CHECK: copy_addr [[O2]] to [init] [[T1:%[0-9]*]]
253
253
// CHECK: [[W2:%.*]] = witness_method $@opened("{{.*}}", any GenericPropProtocol) Self, #GenericPropProtocol.val!getter : <Self where Self : GenericPropProtocol> (Self) -> () -> Int, [[O2]] : $*@opened("{{.*}}", any GenericPropProtocol) Self : $@convention(witness_method: GenericPropProtocol) <τ_0_0 where τ_0_0 : GenericPropProtocol> (@in_guaranteed τ_0_0) -> Int
254
- // CHECK: apply [[W2]]<@opened("{{.*}}", any GenericPropProtocol) Self>([[O2 ]]) : $@convention(witness_method: GenericPropProtocol) <τ_0_0 where τ_0_0 : GenericPropProtocol> (@in_guaranteed τ_0_0) -> Int
254
+ // CHECK: apply [[W2]]<@opened("{{.*}}", any GenericPropProtocol) Self>([[T1 ]]) : $@convention(witness_method: GenericPropProtocol) <τ_0_0 where τ_0_0 : GenericPropProtocol> (@in_guaranteed τ_0_0) -> Int
255
255
// CHECK: struct_extract
256
256
// CHECK: integer_literal
257
257
// CHECK: builtin
@@ -271,10 +271,10 @@ public class OtherClass {
271
271
// CHECK: cond_fail
272
272
// CHECK: [[R5:%.*]] = ref_element_addr [[ARG]] : $OtherClass, #OtherClass.arg4
273
273
// CHECK: [[ACC5:%.*]] = begin_access [read] [static] [no_nested_conflict] [[R5]]
274
- // CHECK: copy_addr [[ACC5 ]] to [init] [[T2:%[0-9]+]]
275
- // CHECK: [[O5:%.* ]] = open_existential_addr immutable_access [[T2]] : $*any GenericNestedPropProtocol to $*@opened("{{.*}}", any GenericNestedPropProtocol) Self
274
+ // CHECK: [[O5:%.* ]] = open_existential_addr immutable_access [[ACC5]] : $*any GenericNestedPropProtocol to $*@opened("{{.*}}", any GenericNestedPropProtocol) Self
275
+ // CHECK: copy_addr [[O5]] to [init] [[T2:%[0-9]+]]
276
276
// CHECK: [[W5:%.*]] = witness_method $@opened("{{.*}}", any GenericNestedPropProtocol) Self, #GenericNestedPropProtocol.val!getter : <Self where Self : GenericNestedPropProtocol> (Self) -> () -> Int, [[O5:%.*]] : $*@opened("{{.*}}", any GenericNestedPropProtocol) Self : $@convention(witness_method: GenericNestedPropProtocol) <τ_0_0 where τ_0_0 : GenericNestedPropProtocol> (@in_guaranteed τ_0_0) -> Int
277
- // CHECK: apply [[W5]]<@opened("{{.*}}", any GenericNestedPropProtocol) Self>([[O5 ]]) : $@convention(witness_method: GenericNestedPropProtocol) <τ_0_0 where τ_0_0 : GenericNestedPropProtocol> (@in_guaranteed τ_0_0) -> Int
277
+ // CHECK: apply [[W5]]<@opened("{{.*}}", any GenericNestedPropProtocol) Self>([[T2 ]]) : $@convention(witness_method: GenericNestedPropProtocol) <τ_0_0 where τ_0_0 : GenericNestedPropProtocol> (@in_guaranteed τ_0_0) -> Int
278
278
// CHECK: struct_extract
279
279
// CHECK: builtin
280
280
// CHECK: tuple_extract
@@ -341,10 +341,10 @@ public class OtherKlass {
341
341
// CHECK: integer_literal
342
342
// CHECK: [[R1:%.*]] = ref_element_addr [[ARG]] : $OtherKlass, #OtherKlass.arg2
343
343
// CHECK: [[ACC1:%.*]] = begin_access [read] [static] [no_nested_conflict] [[R1]]
344
- // CHECK: copy_addr [[ACC1 ]] to [init] [[T1:%[0-9]+]]
345
- // CHECK: [[O1:%.* ]] = open_existential_addr immutable_access [[T1]] : $*any AGenericProtocol to $*@opened("{{.*}}", any AGenericProtocol) Self
344
+ // CHECK: [[O1:%.* ]] = open_existential_addr immutable_access [[ACC1]] : $*any AGenericProtocol to $*@opened("{{.*}}", any AGenericProtocol) Self
345
+ // CHECK: copy_addr [[O1]] to [init] [[T1:%[0-9]+]]
346
346
// CHECK: [[W1:%.*]] = witness_method $@opened("{{.*}}", any AGenericProtocol) Self, #AGenericProtocol.val!getter : <Self where Self : AGenericProtocol> (Self) -> () -> Int, [[O1]] : $*@opened("{{.*}}", any AGenericProtocol) Self : $@convention(witness_method: AGenericProtocol) <τ_0_0 where τ_0_0 : AGenericProtocol> (@in_guaranteed τ_0_0) -> Int
347
- // CHECK: apply [[W1]]<@opened("{{.*}}", any AGenericProtocol) Self>([[O1 ]]) : $@convention(witness_method: AGenericProtocol) <τ_0_0 where τ_0_0 : AGenericProtocol> (@in_guaranteed τ_0_0) -> Int
347
+ // CHECK: apply [[W1]]<@opened("{{.*}}", any AGenericProtocol) Self>([[T1 ]]) : $@convention(witness_method: AGenericProtocol) <τ_0_0 where τ_0_0 : AGenericProtocol> (@in_guaranteed τ_0_0) -> Int
348
348
// CHECK: struct_extract
349
349
// CHECK: integer_literal
350
350
// CHECK: builtin
0 commit comments