@@ -27,7 +27,7 @@ entry(%body : $@convention(method) (Int, @guaranteed C) -> Int, %context : $C):
27
27
28
28
// CHECK-LABEL: define {{.*}} @escape_partial_apply_swift_single_refcount_struct
29
29
// 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
31
31
// CHECK-NEXT: ret { i8*, %swift.refcounted* } [[FCTX]]
32
32
sil @escape_partial_apply_swift_single_refcount_struct : $@convention(thin) (@convention(method) (Int, @guaranteed SingleRefcounted) -> Int, @guaranteed SingleRefcounted) -> @callee_guaranteed (Int) -> Int {
33
33
entry(%body : $@convention(method) (Int, @guaranteed SingleRefcounted) -> Int, %context : $SingleRefcounted):
@@ -50,7 +50,7 @@ entry(%body : $@convention(method) (Int, @in_guaranteed C) -> Int, %context : $*
50
50
51
51
// Can't reuse the method because it does not have swiftself.
52
52
// 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 {{.*}})
54
54
sil @noescape_partial_apply_swift_direct_word : $@convention(thin) (@convention(method) (Int, Int) -> Int, Int, @guaranteed @callee_guaranteed (@noescape @callee_guaranteed (Int) -> Int) -> ()) -> () {
55
55
entry(%body : $@convention(method) (Int, Int) -> Int, %context : $Int, %cont : $@callee_guaranteed (@noescape @callee_guaranteed (Int) -> Int) -> ()):
56
56
%closure = partial_apply [callee_guaranteed] [on_stack] %body(%context) : $@convention(method) (Int, Int) -> Int
0 commit comments