mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Make sure this is not eligible for tail-call-elimination so that we test
the correct thing. llvm-svn: 22039
This commit is contained in:
parent
adb31a99fa
commit
b7c5669c14
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user