mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[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
This commit is contained in:
parent
44990dcd5e
commit
ce4d0b3ebe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user