[analyzer] Bump down the max size of functions being analyzed.

With the new setting, we are not going to inline any functions that are
more than 50 basic blocks. (The analyzer is 20% faster on several
especially bad benchmarks with the new default.)

llvm-svn: 171891
This commit is contained in:
Anna Zaks 2013-01-08 20:09:00 +00:00
parent 66dcb1ca86
commit efe76bc821
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ public:
NoRetryExhausted = 0;
// Cap the stack depth at 4 calls (5 stack frames, base + 4 calls).
InlineMaxStackDepth = 5;
InlineMaxFunctionSize = 200;
InlineMaxFunctionSize = 50;
InliningMode = NoRedundancy;
}
};