@@ -97,10 +97,10 @@ bb0(%taskGroup : $Builtin.RawPointer, %taskFunction : $@Sendable @async @callee_
97
97
sil hidden [ossa] @launch_future_opt_task_group : $@convention(method) <T> (Int, Optional<Builtin.RawPointer>, @owned @Sendable @async @callee_guaranteed @substituted <τ_0_0> () -> (@out τ_0_0, @error Error) for <T>) -> () {
98
98
bb0(%flags : $Int, %optTaskGroup : $Optional<Builtin.RawPointer>, %taskFunction: @owned $@Sendable @async @callee_guaranteed @substituted <τ_0_0> () -> (@out τ_0_0, @error Error) for <T>):
99
99
// CHECK: [[OPTIONS:%.*]] = alloca %swift.task_group_task_option
100
- // CHECK: [[GROUP_IS_NULL:%.*]] = icmp eq i64 %1, 0
100
+ // CHECK: [[GROUP_IS_NULL:%.*]] = icmp eq [[INT]] %1, 0
101
101
// CHECK: br i1 [[GROUP_IS_NULL]], label %task_group.cont, label %task_group.some
102
102
// CHECK: task_group.some:
103
- // CHECK: [[GROUP:%.*]] = inttoptr i64 %1 to ptr
103
+ // CHECK: [[GROUP:%.*]] = inttoptr [[INT]] %1 to ptr
104
104
// CHECK: [[BASE_GEP:%.*]] = getelementptr inbounds %swift.task_group_task_option, ptr [[OPTIONS]], i32 0, i32 0
105
105
// CHECK: [[FLAGS_GEP:%.*]] = getelementptr inbounds %swift.task_option, ptr [[BASE_GEP]], i32 0, i32 0
106
106
// CHECK: store [[INT]] 1, ptr [[FLAGS_GEP]], align
@@ -111,7 +111,7 @@ bb0(%flags : $Int, %optTaskGroup : $Optional<Builtin.RawPointer>, %taskFunction:
111
111
// CHECK: [[OPTIONS_PTR:%.*]] = ptrtoint ptr [[OPTIONS]] to [[INT]]
112
112
// CHECK: br label %task_group.cont
113
113
// CHECK: task_group.cont:
114
- // CHECK: phi i64 [ 0, %entry ], [ [[OPTIONS_PTR]], %task_group.some ]
114
+ // CHECK: phi [[INT]] [ 0, %entry ], [ [[OPTIONS_PTR]], %task_group.some ]
115
115
// CHECK: [[NEW_TASK_AND_CONTEXT:%.*]] = call swift{{(tail)?}}cc %swift.async_task_and_context @swift_task_create(
116
116
117
117
%optSerialExecutor = enum $Optional<Builtin.Executor>, #Optional.none
0 commit comments