diff options
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index c90747943f5..70b1fa77a09 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -1888,10 +1888,10 @@ CalcNodeSethiUllmanNumber(const SUnit *SU, std::vector<unsigned> &SUNumbers) { for (auto It : WorkList) assert(It.SU != PredSU && "Trying to push an element twice?"); #endif - WorkList.push_back(PredSU); - AllPredsKnown = false; // Next time start processing this one starting from the next pred. Temp.PredsProcessed = P + 1; + WorkList.push_back(PredSU); + AllPredsKnown = false; break; } } |