; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc  | grep 'add %ESP, 8'

declare fastcc void %func(int %X, long %Y)

fastcc void %caller(int, long) {
	tail call fastcc void %func(int 1234567890, long 0)
	ret void
}


Make sure this is not eligible for tail-call-elimination so that we test the correct thing.
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc  | grep 'add %ESP, 8'

declare fastcc void %func(int *%X, long %Y)

fastcc void %caller(int, long) {
	%X = alloca int
	call fastcc void %func(int* %X, long 0)   ;; not a tail call
	ret void
}