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