diff options
author | Amaury Sechet <deadalnix@gmail.com> | 2019-08-27 11:06:09 +0000 |
---|---|---|
committer | Amaury Sechet <deadalnix@gmail.com> | 2019-08-27 11:06:09 +0000 |
commit | a1e5ef3fd424c105e5c1a4c310bde8b3b2c222c6 (patch) | |
tree | 869b3a34cd2c93c014d7e09e6caeac13e5fc6e89 | |
parent | 3d5f48dc7ff66b1788bb2a8cd7bb65c47d6e62f4 (diff) | |
download | bcm5719-llvm-a1e5ef3fd424c105e5c1a4c310bde8b3b2c222c6.tar.gz bcm5719-llvm-a1e5ef3fd424c105e5c1a4c310bde8b3b2c222c6.zip |
[DAGCombiner] Add node to the worklist in topological order after relegalization.
Summary: As per title.
Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66702
llvm-svn: 370040
-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 ec738227f0e..9037adea356 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -1664,8 +1664,8 @@ void DAGCombiner::Run(CombineLevel AtLevel) { bool NIsValid = DAG.LegalizeOp(N, UpdatedNodes); for (SDNode *LN : UpdatedNodes) { - AddToWorklist(LN); AddUsersToWorklist(LN); + AddToWorklist(LN); } if (!NIsValid) continue; |