1; RUN: llc < %s -verify-machineinstrs | FileCheck %s
2target 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]
9; CHECK: bl
10; CHECK: ret
11define void @g() nounwind ssp {
12entry:
13  tail call void (i32, ...) @f(i32 0, i32 0) nounwind
14  ret void
15}
16
17declare void @f(i32, ...)
18