1; RUN: llc -mtriple=thumbv7-apple-ios -O0 -fast-isel %s -o - | FileCheck %s 2 3declare swifttailcc ptr @SwiftSelf(ptr swiftasync %context, ptr swiftself %closure) 4 5define swifttailcc ptr @CallSwiftSelf(ptr swiftself %closure, ptr %context) { 6; CHECK-LABEL: CallSwiftSelf: 7; CHECK: bl _SwiftSelf 8; CHECK: pop {r7, pc} 9 %res = call swifttailcc ptr @SwiftSelf(ptr swiftasync %context, ptr swiftself null) 10 ret ptr %res 11} 12