GlobalOpt: Apply fastcc to internal x86_thiscallcc functions
authorReid Kleckner <reid@kleckner.net>
Wed, 26 Feb 2014 19:57:30 +0000 (19:57 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 26 Feb 2014 19:57:30 +0000 (19:57 +0000)
commit726bae9a6616a8395a79f4346c17aaab6886eb1a
treed1c90e4bbdebd7606cb8253caf713d5bd51e71b8
parent0a91f4830848ca16bf4b0569e45e23d7e8043368
GlobalOpt: Apply fastcc to internal x86_thiscallcc functions

We should apply fastcc whenever profitable.  We can expand this list,
but there are lots of conventions with performance implications that we
don't want to change.

Differential Revision: http://llvm-reviews.chandlerc.com/D2705

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202293 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp
test/Transforms/GlobalOpt/fastcc.ll [new file with mode: 0644]