view test/CodeGen/AArch64/arm64-join-reserved.ll @ 100:7d135dc70f03 LLVM 3.9

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents afa8332a0e37
children 1172e4bd9c6f
line wrap: on
line source

; RUN: llc < %s -verify-machineinstrs | FileCheck %s
target triple = "arm64-apple-macosx10"

; Make sure that a store to [sp] addresses off sp directly.
; A move isn't necessary.
; <rdar://problem/11492712>
; CHECK-LABEL: g:
; CHECK: str xzr, [sp, #-16]!
; CHECK: bl
; CHECK: ret
define void @g() nounwind ssp {
entry:
  tail call void (i32, ...) @f(i32 0, i32 0) nounwind
  ret void
}

declare void @f(i32, ...)