diff options
| author | Igor Laevsky <igmyrj@gmail.com> | 2015-09-29 14:57:52 +0000 |
|---|---|---|
| committer | Igor Laevsky <igmyrj@gmail.com> | 2015-09-29 14:57:52 +0000 |
| commit | cea9ede74e9ac8ca3cef01612d11aee7ed033c33 (patch) | |
| tree | 22f49fe9354090abf037755ffbfe613ea44fa9ce /llvm/lib/Analysis | |
| parent | a4d3217e818d255f4e357ac3ab2b459fb884d99f (diff) | |
| download | bcm5719-llvm-cea9ede74e9ac8ca3cef01612d11aee7ed033c33.tar.gz bcm5719-llvm-cea9ede74e9ac8ca3cef01612d11aee7ed033c33.zip | |
[ValueTracking] Lower dom-conditions-dom-blocks and dom-conditions-max-uses thresholds
On some of our benchmarks this change shows about 50% compile time improvement without any noticeable performance difference.
Differential Revision: http://reviews.llvm.org/D13248
llvm-svn: 248801
Diffstat (limited to 'llvm/lib/Analysis')
| -rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 285c945fc62..b032b07f29a 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -58,12 +58,12 @@ static cl::opt<unsigned> DomConditionsMaxDepth("dom-conditions-max-depth", /// conditions? static cl::opt<unsigned> DomConditionsMaxDomBlocks("dom-conditions-dom-blocks", cl::Hidden, - cl::init(20000)); + cl::init(20)); // Controls the number of uses of the value searched for possible // dominating comparisons. static cl::opt<unsigned> DomConditionsMaxUses("dom-conditions-max-uses", - cl::Hidden, cl::init(2000)); + cl::Hidden, cl::init(20)); // If true, don't consider only compares whose only use is a branch. static cl::opt<bool> DomConditionsSingleCmpUse("dom-conditions-single-cmp-use", |

