diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-03-01 16:29:22 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-03-01 16:29:22 +0000 |
commit | 9dd9abd87f77da4e523db02a396721e34631ef32 (patch) | |
tree | e4235c0cd9006dcec8c56473e90b8e6e7bdbaf90 /test/CodeGen/X86/fastcall-correct-mangling.ll | |
parent | 43c6e7cd9b0d9a3b0006650ddfac256848f10d51 (diff) | |
download | llvm-9dd9abd87f77da4e523db02a396721e34631ef32.tar.gz llvm-9dd9abd87f77da4e523db02a396721e34631ef32.tar.bz2 llvm-9dd9abd87f77da4e523db02a396721e34631ef32.tar.xz |
Ensure that fastcall'ed function is correctly mangled & stack is
properly aligned
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fastcall-correct-mangling.ll')
-rw-r--r-- | test/CodeGen/X86/fastcall-correct-mangling.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fastcall-correct-mangling.ll b/test/CodeGen/X86/fastcall-correct-mangling.ll new file mode 100644 index 0000000000..bf8833dd2c --- /dev/null +++ b/test/CodeGen/X86/fastcall-correct-mangling.ll @@ -0,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 +} |