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 | f84685290a0a7646e62224774b18e97e5a3211b5 (patch) | |
| tree | 608ead910c093671d7a78e0d38e20d323b78c19c | |
| parent | 3b43cf6169abd1101a38b6e7d1ec8744397cc593 (diff) | |
| download | bcm5719-llvm-f84685290a0a7646e62224774b18e97e5a3211b5.tar.gz bcm5719-llvm-f84685290a0a7646e62224774b18e97e5a3211b5.zip | |
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.
llvm-svn: 62058
| -rw-r--r-- | llvm/lib/Transforms/IPO/Inliner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp index 639f3a84cb5..65c0ace6063 100644 --- a/llvm/lib/Transforms/IPO/Inliner.cpp +++ b/llvm/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) {} |

