1 ; RUN: llc -mtriple=arm64-apple-ios %s -o - | FileCheck %s
4 declare swifttailcc void @swifttail_callee()
5 define swifttailcc void @swifttail() {
6 ; CHECK-LABEL: swifttail:
7 ; CHECK-NOT: ld{{.*}}x22
8 call void asm "","~{x22}"()
9 tail call swifttailcc void @swifttail_callee()
13 define swifttailcc void @no_preserve_swiftself() {
14 ; CHECK-LABEL: no_preserve_swiftself:
15 ; CHECK-NOT: ld{{.*}}x20
16 call void asm "","~{x20}"()