Skip to content

Commit 06152d2

Browse files
committed
Remove [ossa] from filecheck pattern since we do not support that on 5.0
1 parent 9689ccc commit 06152d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILGen/switch.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ func address_only_with_nontrivial_subtype(_ a: NonTrivialSingleCaseEnum, _ value
11501150
// This test makes sure that when we have a tuple that is partly address only
11511151
// and partially an object that even though we access the object at +0 via a
11521152
// load_borrow, we do not lose the +1 from the original tuple formation.
1153-
// CHECK-LABEL: sil hidden [ossa] @$s6switch35partial_address_only_tuple_dispatchyyAA5KlassC_ypSgtF : $@convention(thin) (@guaranteed Klass, @in_guaranteed Optional<Any>) -> () {
1153+
// CHECK-LABEL: sil hidden @$s6switch35partial_address_only_tuple_dispatchyyAA5KlassC_ypSgtF : $@convention(thin) (@guaranteed Klass, @in_guaranteed Optional<Any>) -> () {
11541154
// CHECK: bb0([[ARG0:%.*]] : @guaranteed $Klass, [[ARG1:%.*]] : $*Optional<Any>):
11551155
// CHECK: [[ARG0_COPY:%.*]] = copy_value [[ARG0]]
11561156
// CHECK: [[ARG1_COPY:%.*]] = alloc_stack $Optional<Any>
@@ -1182,7 +1182,7 @@ func partial_address_only_tuple_dispatch(_ name: Klass, _ value: Any?) {
11821182
}
11831183
}
11841184

1185-
// CHECK-LABEL: sil hidden [ossa] @$s6switch50partial_address_only_tuple_dispatch_with_fail_caseyyAA5KlassC_ypSgtF : $@convention(thin) (@guaranteed Klass, @in_guaranteed Optional<Any>) -> () {
1185+
// CHECK-LABEL: sil hidden @$s6switch50partial_address_only_tuple_dispatch_with_fail_caseyyAA5KlassC_ypSgtF : $@convention(thin) (@guaranteed Klass, @in_guaranteed Optional<Any>) -> () {
11861186
// CHECK: bb0([[ARG0:%.*]] : @guaranteed $Klass, [[ARG1:%.*]] : $*Optional<Any>):
11871187
// CHECK: [[ARG0_COPY:%.*]] = copy_value [[ARG0]]
11881188
// CHECK: [[ARG1_COPY:%.*]] = alloc_stack $Optional<Any>

0 commit comments

Comments
 (0)