forked from OSchip/llvm-project
[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:
parent
66dcb1ca86
commit
efe76bc821
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue