diff options
Diffstat (limited to 'test/CodeGen/X86/fastcall-correct-mangling.ll')
-rw-r--r-- | test/CodeGen/X86/fastcall-correct-mangling.ll | 8 |
1 files changed, 8 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 0000000..c513666 --- /dev/null +++ b/test/CodeGen/X86/fastcall-correct-mangling.ll @@ -0,0 +1,8 @@ +; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -mtriple=mingw32 | \ +; RUN: grep {@12} + +; Check that a fastcall function gets correct mangling + +x86_fastcallcc void %func(long %X, ubyte %Y, ubyte %G, ushort %Z) { + ret void +} |