@@ -89,7 +89,7 @@ bb0(%0 : $Int32, %1 : $*Int32, %2 : $*Int32):
8989// CHECK-LABEL: @call_store_to_int_not_aliased
9090// CHECK: PAIR #0.
9191// CHECK-NEXT: %4 = apply %3(%0, %1) : $@convention(thin) (Int32, @inout Int32) -> ()
92- // CHECK-NEXT: %1 = argument of bb0 : $*Int32{{.*}} // user: %4
92+ // CHECK-NEXT: %1 = argument of bb0 : $*Int32{{.*}}
9393// CHECK-NEXT: r=0,w=1
9494// CHECK: PAIR #1.
9595// CHECK-NEXT: %4 = apply %3(%0, %1) : $@convention(thin) (Int32, @inout Int32) -> ()
@@ -107,7 +107,7 @@ bb0(%0 : $Int32, %1 : $*Int32, %2 : $*Int32):
107107// CHECK-LABEL: @call_store_to_int_aliased
108108// CHECK: PAIR #0.
109109// CHECK-NEXT: %6 = apply %5(%0, %3) : $@convention(thin) (Int32, @inout Int32) -> ()
110- // CHECK-NEXT: %3 = ref_element_addr %1 : $X, #X.a{{.*}} // user: %6
110+ // CHECK-NEXT: %3 = ref_element_addr %1 : $X, #X.a{{.*}}
111111// CHECK-NEXT: r=0,w=1
112112// CHECK: PAIR #1.
113113// CHECK-NEXT: %6 = apply %5(%0, %3) : $@convention(thin) (Int32, @inout Int32) -> ()
@@ -184,15 +184,15 @@ bb0(%0 : $X, %1 : $X):
184184// CHECK-LABEL: @allocstack_apply_no_side_effect
185185// CHECK: PAIR #0
186186// CHECK-NEXT: %3 = apply %2() : $@convention(thin) () -> ()
187- // CHECK-NEXT: %1 = alloc_stack $Int32{{.*}} // user: %5
187+ // CHECK-NEXT: %1 = alloc_stack $Int32{{.*}}
188188// CHECK-NEXT: r=0,w=0
189189sil @allocstack_apply_no_side_effect : $@convention(thin) (Int32) -> () {
190190bb0(%0 : $Int32):
191- %1 = alloc_stack $Int32 // user: %5
192- %2 = function_ref @nouser_func : $@convention(thin) () -> () // user: %3
191+ %1 = alloc_stack $Int32
192+ %2 = function_ref @nouser_func : $@convention(thin) () -> ()
193193 %3 = apply %2() : $@convention(thin) () -> ()
194- %4 = tuple () // user: %6
195- dealloc_stack %1 : $*Int32 // id: %5
194+ %4 = tuple ()
195+ dealloc_stack %1 : $*Int32
196196 return %4 : $()
197197}
198198
@@ -203,30 +203,30 @@ bb0(%0 : $Int32):
203203// CHECK-NEXT: r=0,w=1
204204sil @allocstack_apply_side_effect : $@convention(thin) (Int32) -> () {
205205bb0(%0 : $Int32):
206- %1 = alloc_stack $Int32 // users: %3, %5
206+ %1 = alloc_stack $Int32
207207 // function_ref store_to_int
208- %2 = function_ref @store_to_int : $@convention(thin) (Int32, @inout Int32) -> () // user: %3
208+ %2 = function_ref @store_to_int : $@convention(thin) (Int32, @inout Int32) -> ()
209209 %3 = apply %2(%0, %1) : $@convention(thin) (Int32, @inout Int32) -> ()
210- %4 = tuple () // user: %6
211- dealloc_stack %1 : $*Int32 // id: %5
212- return %4 : $() // id: %6
210+ %4 = tuple ()
211+ dealloc_stack %1 : $*Int32
212+ return %4 : $()
213213}
214214
215215// CHECK-LABEL: @allocstack_apply_no_escaping
216216// CHECK: PAIR #0.
217217// CHECK-NEXT: %3 = apply %2() : $@convention(thin) () -> ()
218- // CHECK-NEXT: %1 = alloc_stack $Int32{{.*}} // users: %7, %5
218+ // CHECK-NEXT: %1 = alloc_stack $Int32{{.*}}
219219// CHECK-NEXT: r=0,w=0
220220sil @allocstack_apply_no_escaping : $@convention(thin) (Int32) -> () {
221221bb0(%0 : $Int32):
222- %1 = alloc_stack $Int32 // users: %3, %5
223- %2 = function_ref @nouser_func : $@convention(thin) () -> () // user: %3
222+ %1 = alloc_stack $Int32
223+ %2 = function_ref @nouser_func : $@convention(thin) () -> ()
224224 %3 = apply %2() : $@convention(thin) () -> ()
225- %4 = function_ref @store_to_int: $@convention(thin) (Int32, @inout Int32) -> () // user: %3
225+ %4 = function_ref @store_to_int: $@convention(thin) (Int32, @inout Int32) -> ()
226226 %5 = apply %4(%0, %1) : $@convention(thin) (Int32, @inout Int32) -> ()
227- %6 = tuple () // user: %6
228- dealloc_stack %1 : $*Int32 // id: %5
229- return %6 : $() // id: %6
227+ %6 = tuple ()
228+ dealloc_stack %1 : $*Int32
229+ return %6 : $()
230230}
231231
232232// CHECK-LABEL: @allocstack_apply_read_only
@@ -303,8 +303,8 @@ bb0(%0 : $*Int32):
303303
304304// CHECK-LABEL: @escaping_allocstack_to_known_function
305305// CHECK: PAIR #2.
306- // CHECK-NEXT: %5 = apply %4(%3) : $@convention(thin) (Builtin.RawPointer) -> UInt8 // user: %7
307- // CHECK-NEXT: %1 = alloc_stack $UInt8 // users: %6, %3, %2
306+ // CHECK-NEXT: %5 = apply %4(%3) : $@convention(thin) (Builtin.RawPointer) -> UInt8
307+ // CHECK-NEXT: %1 = alloc_stack $UInt8
308308// CHECK-NEXT: r=1,w=0
309309sil @escaping_allocstack_to_known_function : $@convention(thin) (UInt8) -> UInt8 {
310310bb0(%0 : $UInt8):
@@ -836,7 +836,7 @@ sil hidden @testGlobalLet : $@convention(thin) () -> () {
836836bb0:
837837 %0 = global_addr @globalC : $*C
838838 %1 = load %0 : $*C
839- %2 = function_ref @nouser_func : $@convention(thin) () -> () // user: %3
839+ %2 = function_ref @nouser_func : $@convention(thin) () -> ()
840840 %3 = apply %2() : $@convention(thin) () -> ()
841841 %8 = tuple ()
842842 return %8 : $()
@@ -851,7 +851,7 @@ sil hidden @testGlobalVar : $@convention(thin) () -> () {
851851bb0:
852852 %0 = global_addr @globalCVar : $*C
853853 %1 = load %0 : $*C
854- %2 = function_ref @nouser_func : $@convention(thin) () -> () // user: %3
854+ %2 = function_ref @nouser_func : $@convention(thin) () -> ()
855855 %3 = apply %2() : $@convention(thin) () -> ()
856856 %8 = tuple ()
857857 return %8 : $()
@@ -890,8 +890,8 @@ struct Int64Wrapper {
890890
891891// CHECK-LABEL: @testNestedAccessWithInterposedProjection
892892// CHECK: PAIR #2.
893- // CHECK-NEXT: %1 = begin_access [modify] [static] %0 : $*Int64Wrapper // users: %7, %2
894- // CHECK-NEXT: %3 = begin_access [read] [static] %2 : $*Int64 // users: %6, %4
893+ // CHECK-NEXT: %1 = begin_access [modify] [static] %0 : $*Int64Wrapper
894+ // CHECK-NEXT: %3 = begin_access [read] [static] %2 : $*Int64
895895// CHECK-NEXT: r=1,w=1
896896sil @testNestedAccessWithInterposedProjection : $@convention(thin) (@inout Int64Wrapper) -> () {
897897bb0(%0 : $*Int64Wrapper):
@@ -1246,7 +1246,7 @@ bb0:
12461246// CHECK-LABEL: @test_stored_pointer
12471247// CHECK: PAIR #3.
12481248// CHECK-NEXT: %5 = apply %4(%2) : $@convention(thin) (@in Builtin.RawPointer) -> ()
1249- // CHECK-NEXT: %0 = alloc_stack $Int // users: %7, %1
1249+ // CHECK-NEXT: %0 = alloc_stack $Int
12501250// CHECK-NEXT: r=1,w=1
12511251sil @test_stored_pointer : $@convention(thin) () -> () {
12521252bb0:
0 commit comments