[llvm-commits] [llvm] r62058 - /llvm/trunk/lib/Transforms/IPO/Inliner.cpp
Dale Johannesen
dalej at apple.com
Sun Jan 11 15:11:00 PST 2009
Author: johannes
Date: Sun Jan 11 17:11:00 2009
New Revision: 62058
URL: http://llvm.org/viewvc/llvm-project?rev=62058&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Transforms/IPO/Inliner.cpp
Modified: llvm/trunk/lib/Transforms/IPO/Inliner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Inliner.cpp?rev=62058&r1=62057&r2=62058&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Inliner.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Inliner.cpp Sun Jan 11 17:11:00 2009
@@ -31,8 +31,8 @@
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) {}
More information about the llvm-commits
mailing list