diff options
author | Dale Johannesen <dalej@apple.com> | 2009-08-25 01:13:58 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-08-25 01:13:58 +0000 |
commit | 30d4d765dfc6d01bc4c1d6934582050106bcceba (patch) | |
tree | 7fee3fc54cbd1a3302cf829238d96bcd802c3510 | |
parent | 06b990c5b3f32505188e52be1b70b38290f81b83 (diff) | |
download | external_llvm-30d4d765dfc6d01bc4c1d6934582050106bcceba.zip external_llvm-30d4d765dfc6d01bc4c1d6934582050106bcceba.tar.gz external_llvm-30d4d765dfc6d01bc4c1d6934582050106bcceba.tar.bz2 |
Allow multiple occurrences of -inline-threshold on
the command line. This gives llvm-gcc developers
a way to control inlining (documented as "not intended
for end users").
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79966 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/IPO/Inliner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp index ba0372b..335baa1 100644 --- a/lib/Transforms/IPO/Inliner.cpp +++ b/lib/Transforms/IPO/Inliner.cpp @@ -33,7 +33,7 @@ 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), +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) |