Home | History | Annotate | Download | only in AArch64
      1 ; RUN: llc < %s -verify-machineinstrs | FileCheck %s
      2 target triple = "arm64-apple-macosx10"
      3 
      4 ; Make sure that a store to [sp] addresses off sp directly.
      5 ; A move isn't necessary.
      6 ; <rdar://problem/11492712>
      7 ; CHECK-LABEL: g:
      8 ; CHECK: str xzr, [sp, #-16]!
      9 ; CHECK: bl
     10 ; CHECK: ret
     11 define void @g() nounwind ssp {
     12 entry:
     13   tail call void (i32, ...) @f(i32 0, i32 0) nounwind
     14   ret void
     15 }
     16 
     17 declare void @f(i32, ...)
     18