Change this back so that I get stable numbers to reflect the change from the
authorChris Lattner <sabre@nondot.org>
Tue, 9 Nov 2004 08:05:23 +0000 (08:05 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Nov 2004 08:05:23 +0000 (08:05 +0000)
nightly testers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17646 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/InlineSimple.cpp

index 770f05c162a0875a7044868fdb87a9716aee7c40..6a43143d87b8657742f893c17081a8e556b6fdac 100644 (file)
@@ -193,7 +193,7 @@ int SimpleInliner::getInlineCost(CallSite CS) {
   // make it almost guaranteed to be inlined.
   //
   if (Callee->hasInternalLinkage() && Callee->hasOneUse())
-    InlineCost -= 5000;
+    InlineCost -= 30000;
 
   // Get information about the callee...
   FunctionInfo &CalleeFI = CachedFunctionInfo[Callee];