2009-10-02 04:54:53 +08:00
|
|
|
; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s
|
|
|
|
; rdar://7268481
|
|
|
|
|
2010-06-17 23:18:27 +08:00
|
|
|
define void @t(i8* %a, ...) nounwind {
|
2013-07-14 14:24:09 +08:00
|
|
|
; CHECK-LABEL: t:
|
2009-10-02 04:54:53 +08:00
|
|
|
; CHECK: pop {r3}
|
2009-11-19 14:57:41 +08:00
|
|
|
; CHECK-NEXT: add sp, #12
|
2009-10-02 04:54:53 +08:00
|
|
|
; CHECK-NEXT: bx r3
|
|
|
|
entry:
|
|
|
|
%a.addr = alloca i8*
|
|
|
|
store i8* %a, i8** %a.addr
|
|
|
|
ret void
|
|
|
|
}
|