[llvm-branch-commits] [llvm-branch] r82668 - /llvm/branches/Apple/Bender-SWB/lib/Transforms/IPO/Inliner.cpp

Bill Wendling isanbard at gmail.com
Wed Sep 23 17:12:23 PDT 2009


Author: void
Date: Wed Sep 23 19:12:22 2009
New Revision: 82668

URL: http://llvm.org/viewvc/llvm-project?rev=82668&view=rev
Log:
Add cl::ZeroOrMore to the inline-threshold.

Modified:
    llvm/branches/Apple/Bender-SWB/lib/Transforms/IPO/Inliner.cpp

Modified: llvm/branches/Apple/Bender-SWB/lib/Transforms/IPO/Inliner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Bender-SWB/lib/Transforms/IPO/Inliner.cpp?rev=82668&r1=82667&r2=82668&view=diff

==============================================================================
--- llvm/branches/Apple/Bender-SWB/lib/Transforms/IPO/Inliner.cpp (original)
+++ llvm/branches/Apple/Bender-SWB/lib/Transforms/IPO/Inliner.cpp Wed Sep 23 19:12:22 2009
@@ -32,7 +32,7 @@
 STATISTIC(NumDeleted, "Number of functions deleted because all callers found");
 
 static cl::opt<int>
-InlineLimit("inline-threshold", cl::Hidden, cl::init(200),
+InlineLimit("inline-threshold", cl::Hidden, cl::init(200), cl::ZeroOrMore,
         cl::desc("Control the amount of inlining to perform (default = 200)"));
 
 Inliner::Inliner(void *ID) 





More information about the llvm-branch-commits mailing list