@@ -18,20 +18,20 @@ sil @makeDepNE : $@convention(thin) (@inout NE) -> @lifetime(borrow address_for_
1818// CHECK-LABEL: testNEInitNoEscape: local_variable_reachable_uses with: %1, @instruction
1919// CHECK: ### Access map:
2020// CHECK-NEXT: Access map for: %{{.*}} = alloc_box ${ var NE }, var, name "self"
21- // CHECK-NEXT: assign: true, store destroy_value %{{.*}} : ${ var NE }
22- // CHECK-NEXT: assign: false, escape %{{.*}} = address_to_pointer %{{.*}} : $*NE to $Builtin.RawPointer
23- // CHECK-NEXT: assign: true, beginAccess %{{.*}} = begin_access [modify] [unknown] %{{.*}} : $*NE
24- // CHECK-NEXT: assign: false, load %{{.*}} = load [copy] %{{.*}} : $*NE
25- // CHECK-NEXT: assign: true, beginAccess %{{.*}} = begin_access [modify] [unknown] %{{.*}} : $*NE
21+ // CHECK-NEXT: assign: value, hasEscaped: unknown, store, destroy_value %{{.*}} : ${ var NE }
22+ // CHECK-NEXT: assign: no, hasEscaped: true, escape, %{{.*}} = address_to_pointer %{{.*}} : $*NE to $Builtin.RawPointer
23+ // CHECK-NEXT: assign: value, hasEscaped: unknown, beginAccess, %{{.*}} = begin_access [modify] [unknown] %{{.*}} : $*NE
24+ // CHECK-NEXT: assign: no, hasEscaped: unknown, load, %{{.*}} = load [copy] %{{.*}} : $*NE
25+ // CHECK-NEXT: assign: value, hasEscaped: unknown, beginAccess, %{{.*}} = begin_access [modify] [unknown] %{{.*}} : $*NE
2626// CHECK-NEXT: ### Modify: %{{.*}} = begin_access [modify] [unknown] %4 : $*NE
2727// CHECK-NEXT: ### Reachable access:
28- // CHECK-NEXT: load %{{.*}} = load [copy] %{{.*}} : $*NE
28+ // CHECK-NEXT: load, %{{.*}} = load [copy] %{{.*}} : $*NE
2929// CHECK-NEXT: testNEInitNoEscape: local_variable_reachable_uses with: %1, @instruction
3030
3131// CHECK-LABEL: testNEInitNoEscape: local_variable_reaching_assignments with: %1, @instruction
3232// CHECK: ### Instruction: end_access %{{.*}} : $*NE
3333// CHECK-NEXT: ### Reachable assignments:
34- // CHECK-NEXT: beginAccess %21 = begin_access [modify] [unknown] %4 : $*NE
34+ // CHECK-NEXT: beginAccess, %21 = begin_access [modify] [unknown] %4 : $*NE
3535// CHECK-NEXT: testNEInitNoEscape: local_variable_reaching_assignments with: %1, @instruction
3636sil [ossa] @testNEInitNoEscape : $@convention(thin) (@inout NE) -> @lifetime(borrow 0) @owned NE {
3737bb0(%0 : $*NE):
8686// CHECK-LABEL: testNEInitEscape: local_variable_reachable_uses with: %1, @instruction
8787// CHECK: ### Access map:
8888// CHECK-NEXT: Access map for: %{{.*}} = alloc_box ${ var NE }, var, name "self"
89- // CHECK-NEXT: assign: true, store destroy_value %{{.*}} : ${ var NE }
90- // CHECK-NEXT: assign: false, load %{{.*}} = load [copy] %{{.*}} : $*NE
91- // CHECK-NEXT: assign: true, beginAccess %{{.*}} = begin_access [modify] [unknown] %{{.*}} : $*NE
92- // CHECK-NEXT: assign: false, escape %6 = address_to_pointer %4 : $*NE to $Builtin.RawPointer
89+ // CHECK-NEXT: assign: value, hasEscaped: unknown, store, destroy_value %{{.*}} : ${ var NE }
90+ // CHECK-NEXT: assign: no, hasEscaped: unknown, load, %{{.*}} = load [copy] %{{.*}} : $*NE
91+ // CHECK-NEXT: assign: value, hasEscaped: unknown, beginAccess, %{{.*}} = begin_access [modify] [unknown] %{{.*}} : $*NE
92+ // CHECK-NEXT: assign: no, hasEscaped: true, escape, %6 = address_to_pointer %4 : $*NE to $Builtin.RawPointer
9393// CHECK-NEXT: ### Modify: %{{.*}} = begin_access [modify] [unknown] %4 : $*NE
9494// CHECK-NEXT: !!! Reachable escape
9595// CHECK-NEXT: testNEInitEscape: local_variable_reachable_uses with: %1, @instruction
0 commit comments