Merging r258471:
[oota-llvm.git] / test / CodeGen / AArch64 / arm64-leaf.ll
1 ; RUN: llc -march=arm64 -mtriple=arm64-apple-ios < %s | FileCheck %s
2 ; rdar://12829704
3
4 define void @t8() nounwind ssp {
5 ; CHECK-LABEL: t8:
6 ; CHECK-NOT: stp        fp, lr, [sp, #-16]!
7 ; CHECK-NOT: mov        fp, sp
8 ; CHECK: nop
9 ; CHECK-NOT: mov        sp, fp
10 ; CHECK-NOT: ldp        fp, lr, [sp], #16
11   tail call void asm sideeffect "nop", "~{v8}"() nounwind
12   ret void
13 }