diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 61176bf624a..1d8f530f4c5 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -1792,9 +1792,8 @@ SDValue DAGCombiner::visitTokenFactor(SDNode *N) { TFs.push_back(N); // Iterate through token factors. The TFs grows when new token factors are - // encountered. Limit number of nodes to inline, to avoid quadratic compile - // times. - for (unsigned i = 0; i < TFs.size() && Ops.size() <= 2048; ++i) { + // encountered. + for (unsigned i = 0; i < TFs.size(); ++i) { SDNode *TF = TFs[i]; // Check each of the operands. |

