@@ -45,46 +45,46 @@ sil [ossa] @empty_fn_caller_caller : $@convention(thin) () -> () {
45
45
// CHECK: [[UNKNOWN:%[^,]+]] = function_ref @unknown
46
46
// CHECK: [[UNKNOWN_CALLER:%[^,]+]] = function_ref @unknown_caller
47
47
// CHECK-LABEL: end running test 1 of {{[0-9]+}} on call_functions: dump-function
48
- // CHECK-LABEL: begin running test 2 of {{[0-9]+}} on call_functions: is-deinit-barrier
48
+ // CHECK-LABEL: begin running test 2 of {{[0-9]+}} on call_functions: is_deinit_barrier
49
49
// CHECK: apply [[EMPTY_FN]]
50
50
// CHECK: false
51
- // CHECK-LABEL: end running test 2 of {{[0-9]+}} on call_functions: is-deinit-barrier
52
- // CHECK-LABEL: begin running test 3 of {{[0-9]+}} on call_functions: is-deinit-barrier
51
+ // CHECK-LABEL: end running test 2 of {{[0-9]+}} on call_functions: is_deinit_barrier
52
+ // CHECK-LABEL: begin running test 3 of {{[0-9]+}} on call_functions: is_deinit_barrier
53
53
// CHECK: apply [[EMPTY_FN_CALLER]]
54
54
// CHECK: false
55
- // CHECK-LABEL: end running test 3 of {{[0-9]+}} on call_functions: is-deinit-barrier
56
- // CHECK-LABEL: begin running test 4 of {{[0-9]+}} on call_functions: is-deinit-barrier
55
+ // CHECK-LABEL: end running test 3 of {{[0-9]+}} on call_functions: is_deinit_barrier
56
+ // CHECK-LABEL: begin running test 4 of {{[0-9]+}} on call_functions: is_deinit_barrier
57
57
// CHECK: apply [[EMPTY_FN_CALLER_CALLER]]
58
58
// CHECK: false
59
- // CHECK-LABEL: end running test 4 of {{[0-9]+}} on call_functions: is-deinit-barrier
60
- // CHECK-LABEL: begin running test 5 of {{[0-9]+}} on call_functions: is-deinit-barrier
59
+ // CHECK-LABEL: end running test 4 of {{[0-9]+}} on call_functions: is_deinit_barrier
60
+ // CHECK-LABEL: begin running test 5 of {{[0-9]+}} on call_functions: is_deinit_barrier
61
61
// CHECK: apply [[UNKNOWN]]
62
62
// CHECK: true
63
- // CHECK-LABEL: end running test 5 of {{[0-9]+}} on call_functions: is-deinit-barrier
64
- // CHECK-LABEL: begin running test 6 of {{[0-9]+}} on call_functions: is-deinit-barrier
63
+ // CHECK-LABEL: end running test 5 of {{[0-9]+}} on call_functions: is_deinit_barrier
64
+ // CHECK-LABEL: begin running test 6 of {{[0-9]+}} on call_functions: is_deinit_barrier
65
65
// CHECK: apply [[UNKNOWN_CALLER]]
66
66
// CHECK: true
67
- // CHECK-LABEL: end running test 6 of {{[0-9]+}} on call_functions: is-deinit-barrier
67
+ // CHECK-LABEL: end running test 6 of {{[0-9]+}} on call_functions: is_deinit_barrier
68
68
sil [ossa] @call_functions : $@convention(thin) () -> () {
69
69
entry:
70
70
specify_test "dump-function"
71
- specify_test "is-deinit-barrier @instruction[1]"
71
+ specify_test "is_deinit_barrier @instruction[1]"
72
72
%empty_fn = function_ref @empty_fn : $@convention(thin) () -> ()
73
73
apply %empty_fn() : $@convention(thin) () -> ()
74
74
75
- specify_test "is-deinit-barrier @instruction[3]"
75
+ specify_test "is_deinit_barrier @instruction[3]"
76
76
%empty_fn_caller = function_ref @empty_fn_caller : $@convention(thin) () -> ()
77
77
apply %empty_fn_caller() : $@convention(thin) () -> ()
78
78
79
- specify_test "is-deinit-barrier @instruction[5]"
79
+ specify_test "is_deinit_barrier @instruction[5]"
80
80
%empty_fn_caller_caller = function_ref @empty_fn_caller_caller : $@convention(thin) () -> ()
81
81
apply %empty_fn_caller_caller() : $@convention(thin) () -> ()
82
82
83
- specify_test "is-deinit-barrier @instruction[7]"
83
+ specify_test "is_deinit_barrier @instruction[7]"
84
84
%unknown = function_ref @unknown : $@convention(thin) () -> ()
85
85
apply %unknown() : $@convention(thin) () -> ()
86
86
87
- specify_test "is-deinit-barrier @instruction[9]"
87
+ specify_test "is_deinit_barrier @instruction[9]"
88
88
%unknown_caller = function_ref @unknown_caller : $@convention(thin) () -> ()
89
89
apply %unknown_caller() : $@convention(thin) () -> ()
90
90
@@ -97,58 +97,58 @@ actor A {}
97
97
sil @getA : $() -> (@owned A)
98
98
sil @borrowA : $@yield_once @convention(thin) () -> @yields @guaranteed A
99
99
100
- // CHECK-LABEL: begin running test 1 of {{[0-9]+}} on test_hop_to_executor: is-deinit-barrier
100
+ // CHECK-LABEL: begin running test 1 of {{[0-9]+}} on test_hop_to_executor: is_deinit_barrier
101
101
// CHECK: hop_to_executor
102
102
// CHECK: true
103
- // CHECK-LABEL: end running test 1 of {{[0-9]+}} on test_hop_to_executor: is-deinit-barrier
103
+ // CHECK-LABEL: end running test 1 of {{[0-9]+}} on test_hop_to_executor: is_deinit_barrier
104
104
sil [ossa] @test_hop_to_executor : $@convention(thin) () -> () {
105
105
%borrowA = function_ref @borrowA : $@yield_once @convention(thin) () -> @yields @guaranteed A
106
106
(%a, %token) = begin_apply %borrowA() : $@yield_once @convention(thin) () -> @yields @guaranteed A
107
- specify_test "is-deinit-barrier @instruction"
107
+ specify_test "is_deinit_barrier @instruction"
108
108
hop_to_executor %a : $A
109
109
end_apply %token as $()
110
110
%retval = tuple ()
111
111
return %retval : $()
112
112
}
113
113
114
- // CHECK-LABEL: begin running test 1 of {{[0-9]+}} on test_instructions_1: is-deinit-barrier
114
+ // CHECK-LABEL: begin running test 1 of {{[0-9]+}} on test_instructions_1: is_deinit_barrier
115
115
// CHECK: debug_step
116
116
// CHECK: false
117
- // CHECK-LABEL: end running test 1 of {{[0-9]+}} on test_instructions_1: is-deinit-barrier
118
- // CHECK-LABEL: begin running test 2 of {{[0-9]+}} on test_instructions_1: is-deinit-barrier
117
+ // CHECK-LABEL: end running test 1 of {{[0-9]+}} on test_instructions_1: is_deinit_barrier
118
+ // CHECK-LABEL: begin running test 2 of {{[0-9]+}} on test_instructions_1: is_deinit_barrier
119
119
// CHECK: load [trivial] {{%[^,]+}} : $*Builtin.Int32
120
120
// CHECK: true
121
- // CHECK-LABEL: end running test 2 of {{[0-9]+}} on test_instructions_1: is-deinit-barrier
122
- // CHECK-LABEL: begin running test 3 of {{[0-9]+}} on test_instructions_1: is-deinit-barrier
121
+ // CHECK-LABEL: end running test 2 of {{[0-9]+}} on test_instructions_1: is_deinit_barrier
122
+ // CHECK-LABEL: begin running test 3 of {{[0-9]+}} on test_instructions_1: is_deinit_barrier
123
123
// CHECK: load [trivial] {{%[^,]+}} : $*Builtin.Int32
124
124
// CHECK: true
125
- // CHECK-LABEL: end running test 3 of {{[0-9]+}} on test_instructions_1: is-deinit-barrier
125
+ // CHECK-LABEL: end running test 3 of {{[0-9]+}} on test_instructions_1: is_deinit_barrier
126
126
sil [ossa] @test_instructions_1 : $@convention(thin) () -> () {
127
127
entry:
128
- specify_test "is-deinit-barrier @instruction"
128
+ specify_test "is_deinit_barrier @instruction"
129
129
debug_step
130
130
131
131
%my_errno = global_addr @my_errno : $*Builtin.Int32
132
- specify_test "is-deinit-barrier @instruction"
132
+ specify_test "is_deinit_barrier @instruction"
133
133
%my_errno_value = load [trivial] %my_errno : $*Int32
134
134
135
135
%global_var = global_addr @global_var : $*Builtin.Int32
136
- specify_test "is-deinit-barrier @instruction"
136
+ specify_test "is_deinit_barrier @instruction"
137
137
%global_var_value = load [trivial] %global_var : $*Int32
138
138
139
139
%retval = tuple ()
140
140
return %retval : $()
141
141
}
142
142
143
- // CHECK-LABEL: begin running test {{.*}} on rdar120656227: is-deinit-barrier
143
+ // CHECK-LABEL: begin running test {{.*}} on rdar120656227: is_deinit_barrier
144
144
// CHECK: builtin "int_memmove_RawPointer_RawPointer_Int64"
145
145
// CHECK: true
146
- // CHECK-LABEL: end running test {{.*}} on rdar120656227: is-deinit-barrier
146
+ // CHECK-LABEL: end running test {{.*}} on rdar120656227: is_deinit_barrier
147
147
sil [ossa] @rdar120656227 : $@convention(thin) (Builtin.RawPointer, Builtin.RawPointer) -> () {
148
148
bb0(%42 : $Builtin.RawPointer, %9 : $Builtin.RawPointer):
149
149
%14 = integer_literal $Builtin.Int64, 27
150
150
%28 = integer_literal $Builtin.Int1, 1
151
- specify_test "is-deinit-barrier @instruction"
151
+ specify_test "is_deinit_barrier @instruction"
152
152
%43 = builtin "int_memmove_RawPointer_RawPointer_Int64"(%42 : $Builtin.RawPointer, %9 : $Builtin.RawPointer, %14 : $Builtin.Int64, %28 : $Builtin.Int1) : $()
153
153
%68 = tuple ()
154
154
return %68 : $()
0 commit comments