llvm-mirror/test/CodeGen/X86/fast-cc-merge-stack-adj.ll

12 lines
325 B
LLVM
Raw Normal View History

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