[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / swifttail-async.ll
blob2004b6107bdb97fc8a52001ec766b511f87d7748
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()
10   ret void
13 define swifttailcc void @no_preserve_swiftself() {
14 ; CHECK-LABEL: no_preserve_swiftself:
15 ; CHECK-NOT: ld{{.*}}x20
16   call void asm "","~{x20}"()
17   ret void