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