Revert "Don't count inreg params when mangling fastcall functions"
authorReid Kleckner <reid@kleckner.net>
Thu, 23 Oct 2014 17:50:42 +0000 (17:50 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 23 Oct 2014 17:50:42 +0000 (17:50 +0000)
commite852ac77726fe0a741a5a4e06998d273ff41e650
tree5c2ddf245c24a1668caf09bfac236cb758909b4d
parent71926e73ba99c07a02671b9001197cedc06f8905
Revert "Don't count inreg params when mangling fastcall functions"

This reverts commit r214981.

I'm not sure what I was thinking when I wrote this. Testing with MSVC
shows that this function is mangled to '@f@8':
  int __fastcall f(int a, int b);

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220492 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Mangler.cpp
test/CodeGen/X86/byval-callee-cleanup.ll
test/CodeGen/X86/musttail-indirect.ll