@@ -97,10 +97,10 @@ bb0(%taskGroup : $Builtin.RawPointer, %taskFunction : $@Sendable @async @callee_
9797sil 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>) -> () {
9898bb0(%flags : $Int, %optTaskGroup : $Optional<Builtin.RawPointer>, %taskFunction: @owned $@Sendable @async @callee_guaranteed @substituted <τ_0_0> () -> (@out τ_0_0, @error Error) for <T>):
9999 // 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
101101 // CHECK: br i1 [[GROUP_IS_NULL]], label %task_group.cont, label %task_group.some
102102 // CHECK: task_group.some:
103- // CHECK: [[GROUP:%.*]] = inttoptr i64 %1 to ptr
103+ // CHECK: [[GROUP:%.*]] = inttoptr [[INT]] %1 to ptr
104104 // CHECK: [[BASE_GEP:%.*]] = getelementptr inbounds %swift.task_group_task_option, ptr [[OPTIONS]], i32 0, i32 0
105105 // CHECK: [[FLAGS_GEP:%.*]] = getelementptr inbounds %swift.task_option, ptr [[BASE_GEP]], i32 0, i32 0
106106 // CHECK: store [[INT]] 1, ptr [[FLAGS_GEP]], align
@@ -111,7 +111,7 @@ bb0(%flags : $Int, %optTaskGroup : $Optional<Builtin.RawPointer>, %taskFunction:
111111 // CHECK: [[OPTIONS_PTR:%.*]] = ptrtoint ptr [[OPTIONS]] to [[INT]]
112112 // CHECK: br label %task_group.cont
113113 // 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 ]
115115 // CHECK: [[NEW_TASK_AND_CONTEXT:%.*]] = call swift{{(tail)?}}cc %swift.async_task_and_context @swift_task_create(
116116
117117 %optSerialExecutor = enum $Optional<Builtin.Executor>, #Optional.none
0 commit comments