@@ -55,15 +55,13 @@ bb0(%0 : $Int, %1 : $Optional<Builtin.RawPointer>, %2: @guaranteed $@async @call
5555// CHECK: [[GROUP_GEP:%.*]] = getelementptr inbounds %swift.task_group_task_option, %swift.task_group_task_option* [[OPTIONS]], i32 0, i32 1
5656// CHECK: store i8* %0, i8** [[GROUP_GEP]], align 1
5757// CHECK: [[OPTIONS_PTR:%.*]] = ptrtoint %swift.task_group_task_option* [[OPTIONS]] to [[INT]]
58- // CHECK: call swiftcc %swift.async_task_and_context @swift_task_create(i64 0, i64 [[OPTIONS_PTR]],
59- sil hidden @launch_future_in_group : $@convention(thin) (Builtin.RawPointer, @guaranteed @async @callee_guaranteed () -> (Int, @error Error)) -> () {
60- bb0(%0 : $Builtin.RawPointer, %1 : $@async @callee_guaranteed () -> (Int, @error Error)):
61- %4 = integer_literal $Builtin.Int64, 0
62- %5 = struct $Int (%4 : $Builtin.Int64)
58+ // CHECK: call swiftcc %swift.async_task_and_context @swift_task_create(i64 %3, i64 [[OPTIONS_PTR]],
59+ sil hidden @launch_future_in_group : $@convention(thin) (Builtin.RawPointer, @guaranteed @async @callee_guaranteed () -> (Int, @error Error), Int) -> () {
60+ bb0(%0 : $Builtin.RawPointer, %1 : $@async @callee_guaranteed () -> (Int, @error Error), %3: $Int):
6361 %6 = metatype $@thick Int.Type
6462 %7 = init_existential_metatype %6 : $@thick Int.Type, $@thick Any.Type
6563 strong_retain %1 : $@async @callee_guaranteed () -> (Int, @error Error)
66- %9 = builtin "createAsyncTaskInGroup"<Int>(%5 : $Int, %0 : $Builtin.RawPointer, %7 : $@thick Any.Type, %1 : $@async @callee_guaranteed () -> (Int, @error Error)) : $(Builtin.NativeObject, Builtin.RawPointer)
64+ %9 = builtin "createAsyncTaskInGroup"<Int>(%3 : $Int, %0 : $Builtin.RawPointer, %7 : $@thick Any.Type, %1 : $@async @callee_guaranteed () -> (Int, @error Error)) : $(Builtin.NativeObject, Builtin.RawPointer)
6765 %10 = tuple_extract %9 : $(Builtin.NativeObject, Builtin.RawPointer), 0
6866 strong_release %10 : $Builtin.NativeObject
6967 %12 = tuple ()
0 commit comments