aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/InlineSimple.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-09 08:05:23 +0000
committerChris Lattner <sabre@nondot.org>2004-11-09 08:05:23 +0000
commita8e475093af462787cfdc7d7ff1413d0f058dae8 (patch)
treece3b9fcdc8f5e03dedd8d883a58dfda47cd54832 /lib/Transforms/IPO/InlineSimple.cpp
parent8db573e1901d9bc6c7936525509da2f28f7820d5 (diff)
Change this back so that I get stable numbers to reflect the change from the
nightly testers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/InlineSimple.cpp')
-rw-r--r--lib/Transforms/IPO/InlineSimple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp
index 770f05c162..6a43143d87 100644
--- a/lib/Transforms/IPO/InlineSimple.cpp
+++ b/lib/Transforms/IPO/InlineSimple.cpp
@@ -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];