aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/fast-cc-merge-stack-adj.ll')
-rw-r--r--test/CodeGen/X86/fast-cc-merge-stack-adj.ll13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/CodeGen/X86/fast-cc-merge-stack-adj.ll b/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
index b86109b..3f3aa46 100644
--- a/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
+++ b/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
@@ -1,12 +1,13 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel | \
+; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=intel | \
; RUN: grep {add ESP, 8}
target triple = "i686-pc-linux-gnu"
-declare x86_fastcallcc void %func(int *%X, long %Y)
+declare x86_fastcallcc void @func(i32*, i64)
-x86_fastcallcc void %caller(int, long) {
- %X = alloca int
- call x86_fastcallcc void %func(int* %X, long 0) ;; not a tail call
- ret void
+define x86_fastcallcc void @caller(i32, i64) {
+ %X = alloca i32 ; <i32*> [#uses=1]
+ call x86_fastcallcc void @func( i32* %X, i64 0 )
+ ret void
}
+