Skip to content

Commit 48cedb5

Browse files
committed
Fix RawSILInstLowering test
1 parent f21eb53 commit 48cedb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILOptimizer/raw_sil_inst_lowering.sil

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ bb0(%0 : $*T, %1 : $*GenericRefStruct<T>):
198198
// RefStruct.init(inputVal:)
199199
// CHECK-LABEL: sil hidden [ossa] @$assign_or_init_init_indirect
200200
// CHECK: [[INITIAL_VAL:%.*]] = copy_value {{%.*}} : $SomeClass
201+
// CHECK: [[SELF_REF:%.*]] = begin_access [modify] [unknown] {{%.*}} : $*RefStruct
201202
// CHECK: [[INIT_REF:%.*]] = function_ref @$s4main9RefStructV7wrappedAA9SomeClassCvpfF : $@convention(thin) (@owned SomeClass, @thin RefStruct.Type) -> @out Wrapper<SomeClass>
202203
// CHECK: [[INIT_PAI:%.*]] = partial_apply [callee_guaranteed] [[INIT_REF]]({{%.*}})
203-
// CHECK: [[SELF_REF:%.*]] = begin_access [modify] [dynamic] {{%.*}} : $*RefStruct
204-
// CHECK-NEXT: [[FIELD_REF:%.*]] = struct_element_addr [[SELF_REF]] : $*RefStruct, #RefStruct._wrapped
204+
// CHECK: [[FIELD_REF:%.*]] = struct_element_addr [[SELF_REF]] : $*RefStruct, #RefStruct._wrapped
205205
// CHECK-NEXT: {{%.*}} = apply [[INIT_PAI]]([[FIELD_REF]], [[INITIAL_VAL]]) : $@callee_guaranteed (@owned SomeClass) -> @out Wrapper<SomeClass>
206206
sil hidden [ossa] @$assign_or_init_init_indirect : $@convention(method) (@owned SomeClass, @thin RefStruct.Type) -> @owned RefStruct {
207207
bb0(%0 : @owned $SomeClass, %1 : $@thin RefStruct.Type):

0 commit comments

Comments
 (0)