2007-04-15 22:20:47 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | \
|
|
|
|
; RUN: grep {add ESP, 8}
|
2005-05-14 23:52:09 +00:00
|
|
|
|
2005-07-20 19:12:00 +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) {
|
2005-05-14 23:54:55 +00:00
|
|
|
%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
|
|
|
|
}
|