[PATCH] D46581: [DAGCombine] Change store merge candidates check cut off to 1024
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 8 07:35:38 PDT 2018
aemerson created this revision.
aemerson added a reviewer: niravd.
Change store merge candidates check cut off to 1024.
The previous value of 8192 resulted in 5x compile time hits in some pathological cases.
Repository:
rL LLVM
https://reviews.llvm.org/D46581
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Index: lib/CodeGen/SelectionDAG/DAGCombiner.cpp
===================================================================
--- lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -13384,7 +13384,7 @@
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46581.145690.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180508/07d40654/attachment.bin>
More information about the llvm-commits
mailing list