diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-03-01 08:09:51 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-03-01 08:09:51 +0000 | 
| commit | a683edb2d83ddfb2706a204db3335c58be9a7d1f (patch) | |
| tree | 3e41ebced31946ab15818e8b015473d354824c41 /llvm/lib/Transforms/IPO/Inliner.cpp | |
| parent | c1bc541323b06567430efa71d228030ef8334276 (diff) | |
| download | bcm5719-llvm-a683edb2d83ddfb2706a204db3335c58be9a7d1f.tar.gz bcm5719-llvm-a683edb2d83ddfb2706a204db3335c58be9a7d1f.zip  | |
allow specified inline threshold to be negative, as the value is 
itself sometimes negative.
llvm-svn: 47786
Diffstat (limited to 'llvm/lib/Transforms/IPO/Inliner.cpp')
| -rw-r--r-- | llvm/lib/Transforms/IPO/Inliner.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp index 7ad7dc4c6ae..acd360464ca 100644 --- a/llvm/lib/Transforms/IPO/Inliner.cpp +++ b/llvm/lib/Transforms/IPO/Inliner.cpp @@ -31,7 +31,7 @@ STATISTIC(NumInlined, "Number of functions inlined");  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)"));  }  | 

