Skip to content

Commit b1a86f4

Browse files
committed
Fix test/IRGen/async.swift when swifttailcc is disabled
1 parent 4373bdd commit b1a86f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class SomeClass {}
1616
@_silgen_name("swift_task_future_wait")
1717
public func task_future_wait(_ task: __owned SomeClass) async throws -> Int
1818

19-
// CHECK: define{{.*}} swifttailcc void @"$s5async8testThisyyAA9SomeClassCnYF"(%swift.task* %0, %swift.executor* %1, %swift.context* swiftasync %2)
19+
// CHECK: define{{.*}} swift{{(tail)?}}cc void @"$s5async8testThisyyAA9SomeClassCnYF"(%swift.task* %0, %swift.executor* %1, %swift.context* swiftasync %2)
2020
// CHECK-64: call swiftcc i8* @swift_task_alloc(%swift.task* %{{[0-9]+}}, i64 64)
2121
// CHECK: tail call swifttailcc void @swift_task_future_wait(
2222
public func testThis(_ task: __owned SomeClass) async {

0 commit comments

Comments
 (0)