@@ -604,15 +604,15 @@ class SuperSub : SuperBase {
604604 func f( ) {
605605 // CHECK: sil private [ossa] @[[INNER_FUNC_1]] : $@convention(thin) (@guaranteed SuperSub) -> () {
606606 // CHECK: bb0([[ARG:%.*]] : @guaranteed $SuperSub):
607- // CHECK: [[INNER:%.*]] = function_ref @[[INNER_FUNC_2:\$s8closures8SuperSubC1fyyFyycfU_yyYKXEfu_ ]] : $@convention(thin) @async (@guaranteed SuperSub) -> @error Error
607+ // CHECK: [[INNER:%.*]] = function_ref @[[INNER_FUNC_2:\$s8closures8SuperSubC1fyyFyycfU_yyKXEfu_ ]] : $@convention(thin) (@guaranteed SuperSub) -> @error Error
608608 // CHECK: [[ARG_COPY:%.*]] = copy_value [[ARG]]
609609 // CHECK: [[PA:%.*]] = partial_apply [callee_guaranteed] [[INNER]]([[ARG_COPY]])
610610 // CHECK: [[CVT:%.*]] = convert_escape_to_noescape [not_guaranteed] [[PA]]
611611 // CHECK: [[REABSTRACT_PA:%.*]] = partial_apply [callee_guaranteed] {{.*}}([[CVT]])
612612 // CHECK: [[REABSTRACT_CVF:%.*]] = convert_function [[REABSTRACT_PA]]
613613 // CHECK: [[REABSTRACT_CVT:%.*]] = convert_escape_to_noescape [not_guaranteed] [[REABSTRACT_CVF]]
614- // CHECK: [[TRY_APPLY_AUTOCLOSURE:%.*]] = function_ref @$ss2qqoiyxxSg_xyYKXKtYKlF :
615- // CHECK: try_apply [noasync] [ [TRY_APPLY_AUTOCLOSURE]]<()>({{.*}}, {{.*}}, [[REABSTRACT_CVT]]) : {{.*}}, normal [[NORMAL_BB:bb1]], error [[ERROR_BB:bb2]]
614+ // CHECK: [[TRY_APPLY_AUTOCLOSURE:%.*]] = function_ref @$ss2qqoiyxxSg_xyKXKtKlF :
615+ // CHECK: try_apply [[TRY_APPLY_AUTOCLOSURE]]<()>({{.*}}, {{.*}}, [[REABSTRACT_CVT]]) : {{.*}}, normal [[NORMAL_BB:bb1]], error [[ERROR_BB:bb2]]
616616 // CHECK: [[NORMAL_BB]]{{.*}}
617617 // CHECK: } // end sil function '[[INNER_FUNC_1]]'
618618 let f1 = {
@@ -636,19 +636,19 @@ class SuperSub : SuperBase {
636636 func g( ) {
637637 // CHECK: sil private [ossa] @[[INNER_FUNC_1]] : $@convention(thin) (@guaranteed SuperSub) -> ()
638638 // CHECK: bb0([[ARG:%.*]] : @guaranteed $SuperSub):
639- // CHECK: [[INNER:%.*]] = function_ref @[[INNER_FUNC_2:\$s8closures8SuperSubC1g.*]] : $@convention(thin) @async (@guaranteed SuperSub) -> @error Error
639+ // CHECK: [[INNER:%.*]] = function_ref @[[INNER_FUNC_2:\$s8closures8SuperSubC1g.*]] : $@convention(thin) (@guaranteed SuperSub) -> @error Error
640640 // CHECK: [[ARG_COPY:%.*]] = copy_value [[ARG]]
641641 // CHECK: [[PA:%.*]] = partial_apply [callee_guaranteed] [[INNER]]([[ARG_COPY]])
642- // CHECK: [[CVT:%.*]] = convert_escape_to_noescape [not_guaranteed] [[PA]] : $@async @ callee_guaranteed () -> @error Error to $@noescape @async @callee_guaranteed () -> @error Error
643- // CHECK: [[REABSTRACT_PA:%.*]] = partial_apply [callee_guaranteed] {{%.*}}([[CVT]]) : $@convention(thin) @async (@noescape @async @callee_guaranteed () -> @error Error) -> (@out (), @error Error)
642+ // CHECK: [[CVT:%.*]] = convert_escape_to_noescape [not_guaranteed] [[PA]] : $@callee_guaranteed () -> @error Error to $@noescape @callee_guaranteed () -> @error Error
643+ // CHECK: [[REABSTRACT_PA:%.*]] = partial_apply [callee_guaranteed] {{%.*}}([[CVT]]) : $@convention(thin) (@noescape @callee_guaranteed () -> @error Error) -> (@out (), @error Error)
644644 // CHECK: [[REABSTRACT_CVF:%.*]] = convert_function [[REABSTRACT_PA]]
645645 // CHECK: [[REABSTRACT_CVT:%.*]] = convert_escape_to_noescape [not_guaranteed] [[REABSTRACT_CVF]]
646- // CHECK: [[TRY_APPLY_FUNC:%.*]] = function_ref @$ss2qqoiyxxSg_xyYKXKtYKlF :
647- // CHECK: try_apply [noasync] [ [TRY_APPLY_FUNC]]<()>({{.*}}, {{.*}}, [[REABSTRACT_CVT]]) : {{.*}}, normal [[NORMAL_BB:bb1]], error [[ERROR_BB:bb2]]
646+ // CHECK: [[TRY_APPLY_FUNC:%.*]] = function_ref @$ss2qqoiyxxSg_xyKXKtKlF :
647+ // CHECK: try_apply [[TRY_APPLY_FUNC]]<()>({{.*}}, {{.*}}, [[REABSTRACT_CVT]]) : {{.*}}, normal [[NORMAL_BB:bb1]], error [[ERROR_BB:bb2]]
648648 // CHECK: [[NORMAL_BB]]{{.*}}
649649 // CHECK: } // end sil function '[[INNER_FUNC_1]]'
650650 func g1( ) {
651- // CHECK: sil private [transparent] [ossa] @[[INNER_FUNC_2]] : $@convention(thin) @async (@guaranteed SuperSub) -> @error Error {
651+ // CHECK: sil private [transparent] [ossa] @[[INNER_FUNC_2]] : $@convention(thin) (@guaranteed SuperSub) -> @error Error {
652652 // CHECK: bb0([[ARG:%.*]] : @guaranteed $SuperSub):
653653 // CHECK: [[ARG_COPY:%.*]] = copy_value [[ARG]]
654654 // CHECK: [[ARG_COPY_SUPER:%.*]] = upcast [[ARG_COPY]] : $SuperSub to $SuperBase
0 commit comments