Changes in directory llvm/test/CodeGen/X86:
fastcall-correct-mangling.ll added (r1.1) fast-cc-callee-pops.ll updated: 1.7 -> 1.8 --- Log message: Ensure that fastcall'ed function is correctly mangled & stack is properly aligned --- Diffs of the changes: (+8 -1) fast-cc-callee-pops.ll | 2 +- fastcall-correct-mangling.ll | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) Index: llvm/test/CodeGen/X86/fastcall-correct-mangling.ll diff -c /dev/null llvm/test/CodeGen/X86/fastcall-correct-mangling.ll:1.1 *** /dev/null Thu Mar 1 10:29:32 2007 --- llvm/test/CodeGen/X86/fastcall-correct-mangling.ll Thu Mar 1 10:29:22 2007 *************** *** 0 **** --- 1,7 ---- + ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mtriple=mingw32 | grep '@12' + + ; Check that a fastcall function gets correct mangling + + x86_fastcallcc void %func(long %X, ubyte %Y, ubyte %G, ushort %Z) { + ret void + } Index: llvm/test/CodeGen/X86/fast-cc-callee-pops.ll diff -u llvm/test/CodeGen/X86/fast-cc-callee-pops.ll:1.7 llvm/test/CodeGen/X86/fast-cc-callee-pops.ll:1.8 --- llvm/test/CodeGen/X86/fast-cc-callee-pops.ll:1.7 Wed Feb 28 12:38:58 2007 +++ llvm/test/CodeGen/X86/fast-cc-callee-pops.ll Thu Mar 1 10:29:22 2007 @@ -1,4 +1,4 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel -mcpu=yonah | grep 'ret 28' +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -x86-asm-syntax=intel -mcpu=yonah | grep 'ret 20' ; Check that a fastcc function pops its stack variables before returning. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits