You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/SILOptimizer/address_lowering.sil
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -938,20 +938,20 @@ bb0(%0 : @owned $P):
938
938
}
939
939
940
940
// CHECK-LABEL: sil [ossa] @f161_testOpenedArchetype : $@convention(thin) (@in any P) -> () {
941
-
// CHECK: bb0(%0 : $*any P):
941
+
// CHECK: bb0([[INSTANCE:%[^,]+]] : $*any P):
942
942
// CHECK: [[ALLOCP:%.*]] = alloc_stack $any P, var, name "q"
943
-
// CHECK: copy_addr %0 to [init] [[ALLOCP]] : $*any P
944
-
// CHECK: [[OPEN:%.*]] = open_existential_addr immutable_access %0 : $*any P to $*@opened("EF755EF2-B636-11E7-B7B4-A45E60ECC541", any P) Self
943
+
// CHECK: copy_addr [[INSTANCE]] to [init] [[ALLOCP]] : $*any P
944
+
// CHECK: [[OPEN:%.*]] = open_existential_addr immutable_access [[INSTANCE]] : $*any P to $*@opened("EF755EF2-B636-11E7-B7B4-A45E60ECC541", any P) Self
945
945
// CHECK: [[OPTIONAL:%.*]] = alloc_stack $Optional<@opened("EF755EF2-B636-11E7-B7B4-A45E60ECC541", any P) Self>
946
946
// CHECK: witness_method $@opened("EF755EF2-B636-11E7-B7B4-A45E60ECC541", any P) Self, #P.foo : <Self where Self : P> (Self) -> () -> (), [[OPEN]] : $*@opened("EF755EF2-B636-11E7-B7B4-A45E60ECC541", any P) Self : $@convention(witness_method: P) <τ_0_0 where τ_0_0 : P> (@in_guaranteed τ_0_0) -> ()
0 commit comments