Make sure this is not eligible for tail-call-elimination so that we test

the correct thing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22039 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-05-14 23:54:55 +00:00
parent 6972177bd4
commit b73855bcd4

View File

@ -1,8 +1,9 @@
; 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)
declare fastcc void %func(int *%X, long %Y)
fastcc void %caller(int, long) {
tail call fastcc void %func(int 1234567890, long 0)
%X = alloca int
call fastcc void %func(int* %X, long 0) ;; not a tail call
ret void
}