llvm-6502/test/CodeGen/AArch64/arm64-leaf.ll

14 lines
344 B
LLVM
Raw Normal View History

; RUN: llc -march=arm64 -mtriple=arm64-apple-ios < %s | FileCheck %s
; rdar://12829704
define void @t8() nounwind ssp {
; CHECK-LABEL: t8:
; CHECK-NOT: stp fp, lr, [sp, #-16]!
; CHECK-NOT: mov fp, sp
; CHECK: nop
; CHECK-NOT: mov sp, fp
; CHECK-NOT: ldp fp, lr, [sp], #16
tail call void asm sideeffect "nop", "~{v8}"() nounwind
ret void
}