diff options
| author | Amara Emerson <aemerson@apple.com> | 2018-05-09 15:53:06 +0000 |
|---|---|---|
| committer | Amara Emerson <aemerson@apple.com> | 2018-05-09 15:53:06 +0000 |
| commit | 4e66142f145af8d203a8f8fac8b253c4b5b8bee6 (patch) | |
| tree | d9f5d74aec74a8751232a5c53ae4d6c6fe8288d0 | |
| parent | 01cf424047d3aa42f48ca2a5e18a17d8e1fead0e (diff) | |
| download | bcm5719-llvm-4e66142f145af8d203a8f8fac8b253c4b5b8bee6.tar.gz bcm5719-llvm-4e66142f145af8d203a8f8fac8b253c4b5b8bee6.zip | |
[DAGCombine] Change store merge candidates check cut off to 1024.
The previous value of 8192 resulted in severe compile time hits in
some pathological cases.
rdar://39781410
Differential Revision: https://reviews.llvm.org/D46581
llvm-svn: 331888
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 863fcf1be0b..8c1501fc93a 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -13384,7 +13384,7 @@ bool DAGCombiner::checkMergeStoreCandidatesForDependencies( SmallPtrSet<const SDNode *, 16> Visited; SmallVector<const SDNode *, 8> Worklist; - unsigned int Max = 8192; + unsigned int Max = 1024; // Search Ops of store candidates. for (unsigned i = 0; i < NumStores; ++i) { SDNode *n = StoreNodes[i].MemNode; |

