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