@@ -11,7 +11,7 @@ import Swift
11
11
sil @takes_Int_inout : $@convention(thin) (@inout Int) -> ()
12
12
sil @makesInt : $@convention(thin) () -> Int
13
13
14
- // CHECK-LABEL: sil [ossa] @use_before_init
14
+ // CHECK-LABEL: sil [_semantics "sil.optimizer.moveonly.diagnostic.ignore"] [ ossa] @use_before_init
15
15
sil [ossa] @use_before_init : $@convention(thin) () -> Int {
16
16
bb0:
17
17
%0 = alloc_box $<τ_0_0> { var τ_0_0 } <Int>
85
85
return %5 : $Int
86
86
}
87
87
88
- // CHECK-LABEL: sil [ossa] @tuple_elements1
88
+ // CHECK-LABEL: sil [_semantics "sil.optimizer.moveonly.diagnostic.ignore"] [ ossa] @tuple_elements1
89
89
sil [ossa] @tuple_elements1 : $@convention(thin) (Int) -> () {
90
90
bb0(%0 : $Int):
91
91
%2 = alloc_box $<τ_0_0> { var τ_0_0 } <(Int, Int)>
@@ -101,7 +101,7 @@ bb0(%0 : $Int):
101
101
return %99 : $()
102
102
}
103
103
104
- // CHECK-LABEL: sil [ossa] @tuple_elements2
104
+ // CHECK-LABEL: sil [_semantics "sil.optimizer.moveonly.diagnostic.ignore"] [ ossa] @tuple_elements2
105
105
sil [ossa] @tuple_elements2 : $@convention(thin) (Int) -> (Int, Int) {
106
106
bb0(%0 : $Int):
107
107
%2 = alloc_box $<τ_0_0> { var τ_0_0 } <(Int, Int)>
@@ -130,7 +130,7 @@ bb0(%0 : $*T, %1 : $*T):
130
130
return %9 : $()
131
131
}
132
132
133
- // CHECK-LABEL: sil [ossa] @copy_addr2
133
+ // CHECK-LABEL: sil [_semantics "sil.optimizer.moveonly.diagnostic.ignore"] [ ossa] @copy_addr2
134
134
sil [ossa] @copy_addr2 : $@convention(thin) <T> (@in_guaranteed T) -> @out T {
135
135
bb0(%0 : $*T, %1 : $*T):
136
136
%3 = alloc_box $<τ_0_0> { var τ_0_0 } <T>
@@ -145,7 +145,7 @@ bb0(%0 : $*T, %1 : $*T):
145
145
sil [ossa] @takes_closure : $@convention(thin) (@owned @callee_owned () -> ()) -> ()
146
146
sil [ossa] @closure0 : $@convention(thin) (@owned <τ_0_0> { var τ_0_0 } <Int>) -> ()
147
147
148
- // CHECK-LABEL: sil [ossa] @closure_test
148
+ // CHECK-LABEL: sil [_semantics "sil.optimizer.moveonly.diagnostic.ignore"] [ ossa] @closure_test
149
149
sil [ossa] @closure_test : $@convention(thin) () -> () {
150
150
bb0:
151
151
%1 = alloc_box $<τ_0_0> { var τ_0_0 } <Int>
0 commit comments