@@ -100,15 +100,9 @@ public distributed actor MyOtherActor {
100100
101101// CHECK: [[DECODER_PTR:%*]] = bitcast %swift.opaque* %1 to %T27FakeDistributedActorSystems0A17InvocationDecoderC**
102102// CHECK-NEXT: [[DECODER:%.*]] = load %T27FakeDistributedActorSystems0A17InvocationDecoderC*, %T27FakeDistributedActorSystems0A17InvocationDecoderC** [[DECODER_PTR]]
103- // CHECK-NEXT: [[DECODER_METADATA:%.*]] = bitcast %swift.type* [[DECODER_TYPE]] to void (%swift.opaque*, %swift.type*, i8**, i8**, %T27FakeDistributedActorSystems0A17InvocationDecoderC*, %swift.error**)**
104- // CHECK-NEXT: [[DECODE_NEXT_ARG_REF:%.*]] = getelementptr inbounds void (%swift.opaque*, %swift.type*, i8**, i8**, %T27FakeDistributedActorSystems0A17InvocationDecoderC*, %swift.error**)*, void (%swift.opaque*, %swift.type*, i8**, i8**, %T27FakeDistributedActorSystems0A17InvocationDecoderC*, %swift.error**)** [[DECODER_METADATA]], i64 {{29|32}}
105- // CHECK-NEXT: [[DECODE_NEXT_ARG:%.*]] = load void (%swift.opaque*, %swift.type*, i8**, i8**, %T27FakeDistributedActorSystems0A17InvocationDecoderC*, %swift.error**)*, void (%swift.opaque*, %swift.type*, i8**, i8**, %T27FakeDistributedActorSystems0A17InvocationDecoderC*, %swift.error**)** [[DECODE_NEXT_ARG_REF]]
103+ // CHECK-NEXT: [[DECODER_METADATA:%.*]] = bitcast i8* %2 to %swift.type*
104+ // CHECK-NEXT: [[DECODE_NEXT_ARG_REF:%.*]] = getelementptr inbounds %swift.type*, %swift.type** [[DECODER_METADATA]], i64
106105
107- // CHECK-NEXT: [[ARG_TYPES:%.*]] = bitcast i8* %2 to %swift.type**
108-
109- // CHECK: [[ARG_0_TYPE_LOC:%.*]] = getelementptr inbounds %swift.type*, %swift.type** [[ARG_TYPES]], i64 0
110- // CHECK-NEXT: %arg_type = load %swift.type*, %swift.type** [[ARG_0_TYPE_LOC]]
111- // CHECK: %size = load i64, i64* {{.*}}
112106// CHECK: [[ARG_0_SIZE_ADJ:%.*]] = add i64 %size, 15
113107// CHECK-NEXT: [[ARG_0_SIZE:%.*]] = and i64 [[ARG_0_SIZE_ADJ]], -16
114108// CHECK-NEXT: [[ARG_0_VALUE_BUF:%.*]] = call swiftcc i8* @swift_task_alloc(i64 [[ARG_0_SIZE]])
@@ -125,7 +119,7 @@ public distributed actor MyOtherActor {
125119// CHECK: missing-witness1:
126120// CHECK-NEXT: call void @llvm.trap()
127121// CHECK-NEXT: unreachable
128- // CHECK: call swiftcc void [[DECODE_NEXT_ARG]] (%swift.opaque* noalias nocapture sret(%swift.opaque) [[ARG_0_RES_SLOT]] , %swift.type* %arg_type, i8** [[ENCODABLE_WITNESS]] , i8** [[DECODABLE_WITNESS]] , %T27FakeDistributedActorSystems0A17InvocationDecoderC* swiftself [[DECODER]] , %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
122+ // CHECK: call swiftcc void @"$s27FakeDistributedActorSystems0A17InvocationDecoderC18decodeNextArgumentxyKSeRzSERzlF" (%swift.opaque* noalias nocapture sret(%swift.opaque) %25 , %swift.type* %arg_type, i8** %26 , i8** %29 , %T27FakeDistributedActorSystems0A17InvocationDecoderC* swiftself %15 , %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
129123
130124// CHECK: store %swift.error* null, %swift.error** %swifterror
131125// CHECK-NEXT: [[ARG_0_VAL_ADDR:%.*]] = bitcast i8* [[ARG_0_VALUE_BUF]] to %TSi*
0 commit comments