From a683edb2d83ddfb2706a204db3335c58be9a7d1f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 1 Mar 2008 08:09:51 +0000 Subject: allow specified inline threshold to be negative, as the value is itself sometimes negative. llvm-svn: 47786 --- llvm/lib/Transforms/IPO/Inliner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms') 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 // FIXME: 200 is VERY conservative + cl::opt // FIXME: 200 is VERY conservative InlineLimit("inline-threshold", cl::Hidden, cl::init(200), cl::desc("Control the amount of inlining to perform (default = 200)")); } -- cgit v1.2.3