diff options
author | Dale Johannesen <dalej@apple.com> | 2009-01-11 23:11:00 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-01-11 23:11:00 +0000 |
commit | c7f9aa76c1fc9d5b6350f3aba3d99e164b13b500 (patch) | |
tree | 6ce5b2ce8e3bfa886921ba128b294d723c44bb53 /lib/Transforms/IPO | |
parent | 1ccab77bc185f79eb845df99910a430ebf927e72 (diff) | |
download | external_llvm-c7f9aa76c1fc9d5b6350f3aba3d99e164b13b500.zip external_llvm-c7f9aa76c1fc9d5b6350f3aba3d99e164b13b500.tar.gz external_llvm-c7f9aa76c1fc9d5b6350f3aba3d99e164b13b500.tar.bz2 |
Increase default inlining aggressiveness in partial
compensation for turning off gcc's inliner. This gets
us closer to the amount of inlining we were getting before.
It is not a win on everything, of course, but seems to
gain overall.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO')
-rw-r--r-- | lib/Transforms/IPO/Inliner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp index 639f3a8..65c0ace 100644 --- a/lib/Transforms/IPO/Inliner.cpp +++ b/lib/Transforms/IPO/Inliner.cpp @@ -31,8 +31,8 @@ STATISTIC(NumInlined, "Number of functions inlined"); STATISTIC(NumDeleted, "Number of functions deleted because all callers found"); static cl::opt<int> -InlineLimit("inline-threshold", cl::Hidden, cl::init(200), - cl::desc("Control the amount of inlining to perform (default = 200)")); +InlineLimit("inline-threshold", cl::Hidden, cl::init(400), + cl::desc("Control the amount of inlining to perform (default = 400)")); Inliner::Inliner(void *ID) : CallGraphSCCPass(ID), InlineThreshold(InlineLimit) {} |