1; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s
2; rdar://7268481
3
4define void @t(i8* %a, ...) nounwind {
5; CHECK: t:
6; CHECK: pop {r3}
7; CHECK-NEXT: add sp, #12
8; CHECK-NEXT: bx r3
9entry:
10 %a.addr = alloca i8*
11 store i8* %a, i8** %a.addr
12 ret void
13}
14