1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/CodeGen/X86/fast-cc-merge-stack-adj.ll

12 lines
321 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel -enable-x86-fastcc | grep 'add ESP, 8'
2005-05-15 01:52:09 +02:00
target triple = "i686-pc-linux-gnu"
declare fastcc void %func(int *%X, long %Y)
2005-05-15 01:52:09 +02:00
fastcc void %caller(int, long) {
%X = alloca int
call fastcc void %func(int* %X, long 0) ;; not a tail call
2005-05-15 01:52:09 +02:00
ret void
}