For PR1319: Upgrade to new test harness.
[oota-llvm.git] / test / CodeGen / X86 / fast-cc-merge-stack-adj.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | \
2 ; RUN:   grep {add ESP, 8}
3
4 target triple = "i686-pc-linux-gnu"
5
6 declare x86_fastcallcc void %func(int *%X, long %Y)
7
8 x86_fastcallcc void %caller(int, long) {
9         %X = alloca int
10         call x86_fastcallcc void %func(int* %X, long 0)   ;; not a tail call
11         ret void
12 }