summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/Inliner.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-04-01 23:59:29 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-04-01 23:59:29 +0000
commit7c3becd9d729b976d79b18e6165e74390e613bb5 (patch)
treef4c37ab938498cfa72b1a483b5161b49e30a888f /lib/Transforms/IPO/Inliner.cpp
parent48afd9f8a94e8db7b9894d97a7e85fff97cff1bd (diff)
downloadllvm-7c3becd9d729b976d79b18e6165e74390e613bb5.tar.gz
llvm-7c3becd9d729b976d79b18e6165e74390e613bb5.tar.bz2
llvm-7c3becd9d729b976d79b18e6165e74390e613bb5.tar.xz
1. Drop default inline threshold back down to 200.
2. Do not use # of basic blocks as part of the cost computation since it doesn't really figure into function size. 3. More aggressively inline function with vector code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/Inliner.cpp')
-rw-r--r--lib/Transforms/IPO/Inliner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp
index f33f368fc0..cb21b79bb2 100644
--- a/lib/Transforms/IPO/Inliner.cpp
+++ b/lib/Transforms/IPO/Inliner.cpp
@@ -32,8 +32,8 @@ STATISTIC(NumDeleted, "Number of functions deleted because all callers found");
namespace {
cl::opt<int>
- InlineLimit("inline-threshold", cl::Hidden, cl::init(400),
- cl::desc("Control the amount of inlining to perform (default = 400)"));
+ InlineLimit("inline-threshold", cl::Hidden, cl::init(200),
+ cl::desc("Control the amount of inlining to perform (default = 200)"));
}
Inliner::Inliner(const void *ID)