Revert "Rewrite a test to count emitted instructions without using -stats"
[oota-llvm.git] / test / CodeGen / Thumb / pop.ll
1 ; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s
2 ; rdar://7268481
3
4 define void @t(i8* %a, ...) nounwind {
5 ; CHECK:      t:
6 ; CHECK:      pop {r3}
7 ; CHECK-NEXT: add sp, #12
8 ; CHECK-NEXT: bx r3
9 entry:
10   %a.addr = alloca i8*
11   store i8* %a, i8** %a.addr
12   ret void
13 }