view test/CodeGen/AArch64/arm64-leaf.ll @ 117:facf19d07cd9

check EHStack on EmitCall (CbC goto)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 24 Aug 2016 20:10:41 +0900
parents 54457678186b
children 1172e4bd9c6f
line wrap: on
line source

; 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
}