1 ; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s
4 define void @t(ptr %a, ...) nounwind {
6 ; CHECK: pop {[[POP_REG:r[0-3]]]}
7 ; CHECK-NEXT: add sp, #12
8 ; CHECK-NEXT: bx [[POP_REG]]
10 %a.addr = alloca i8, i32 4
11 call void @llvm.va_start(ptr %a.addr)
15 declare void @llvm.va_start(ptr) nounwind