@@ -27,7 +27,7 @@ entry(%body : $@convention(method) (Int, @guaranteed C) -> Int, %context : $C):
2727
2828// CHECK-LABEL: define {{.*}} @escape_partial_apply_swift_single_refcount_struct
2929// CHECK: [[CTXT:%.*]] = call {{.*}} @swift_allocObject
30- // CHECK: [[FCTX:%.*]] = insertvalue { i8*, %swift.refcounted* } { i8* bitcast (i{{(64|32)}} (i{{(64|32)}}, %swift.refcounted*)* @"$sTA" to i8*), %swift.refcounted* undef }, %swift.refcounted* [[CTXT]], 1
30+ // CHECK: [[FCTX:%.*]] = insertvalue { i8*, %swift.refcounted* } { i8* bitcast ({{.*}}* @"$sTA{{.*}} " to i8*), %swift.refcounted* undef }, %swift.refcounted* [[CTXT]], 1
3131// CHECK-NEXT: ret { i8*, %swift.refcounted* } [[FCTX]]
3232sil @escape_partial_apply_swift_single_refcount_struct : $@convention(thin) (@convention(method) (Int, @guaranteed SingleRefcounted) -> Int, @guaranteed SingleRefcounted) -> @callee_guaranteed (Int) -> Int {
3333entry(%body : $@convention(method) (Int, @guaranteed SingleRefcounted) -> Int, %context : $SingleRefcounted):
@@ -50,7 +50,7 @@ entry(%body : $@convention(method) (Int, @in_guaranteed C) -> Int, %context : $*
5050
5151// Can't reuse the method because it does not have swiftself.
5252// CHECK-LABEL: define {{.*}} @noescape_partial_apply_swift_direct_word
53- // CHECK: call swiftcc void %11 (i8* bitcast (i{{(64|32)}} (i{{(64|32)}}, %swift.refcounted*)* @"$sTA.1 " to i8*), %swift.opaque* {{.*}}, %swift.refcounted* swiftself {{.*}})
53+ // CHECK: call swiftcc void {{.*}} (i8* bitcast ({{.*}}* @"$sTA{{.*}} " to i8*), %swift.opaque* {{.*}}, %swift.refcounted* swiftself {{.*}})
5454sil @noescape_partial_apply_swift_direct_word : $@convention(thin) (@convention(method) (Int, Int) -> Int, Int, @guaranteed @callee_guaranteed (@noescape @callee_guaranteed (Int) -> Int) -> ()) -> () {
5555entry(%body : $@convention(method) (Int, Int) -> Int, %context : $Int, %cont : $@callee_guaranteed (@noescape @callee_guaranteed (Int) -> Int) -> ()):
5656 %closure = partial_apply [callee_guaranteed] [on_stack] %body(%context) : $@convention(method) (Int, Int) -> Int
0 commit comments