[llvm-commits] [llvm] r47786 - /llvm/trunk/lib/Transforms/IPO/Inliner.cpp

Chris Lattner sabre at nondot.org
Sat Mar 1 00:09:51 PST 2008


Author: lattner
Date: Sat Mar  1 02:09:51 2008
New Revision: 47786

URL: http://llvm.org/viewvc/llvm-project?rev=47786&view=rev
Log:
allow specified inline threshold to be negative, as the value is 
itself sometimes negative.


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=47786&r1=47785&r2=47786&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Inliner.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Inliner.cpp Sat Mar  1 02:09:51 2008
@@ -31,7 +31,7 @@
 STATISTIC(NumDeleted, "Number of functions deleted because all callers found");
 
 namespace {
-  cl::opt<unsigned>             // FIXME: 200 is VERY conservative
+  cl::opt<int>             // FIXME: 200 is VERY conservative
   InlineLimit("inline-threshold", cl::Hidden, cl::init(200),
         cl::desc("Control the amount of inlining to perform (default = 200)"));
 }





More information about the llvm-commits mailing list