Deleted Added
full compact
ScheduleDAGRRList.cpp (280031) ScheduleDAGRRList.cpp (283526)
1//===----- ScheduleDAGRRList.cpp - Reg pressure reduction list scheduler --===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 1409 unchanged lines hidden (view full) ---

1418 AvailableQueue->remove(BtSU);
1419 }
1420 DEBUG(dbgs() << "ARTIFICIAL edge from SU(" << BtSU->NodeNum << ") to SU("
1421 << TrySU->NodeNum << ")\n");
1422 AddPred(TrySU, SDep(BtSU, SDep::Artificial));
1423
1424 // If one or more successors has been unscheduled, then the current
1425 // node is no longer available.
1//===----- ScheduleDAGRRList.cpp - Reg pressure reduction list scheduler --===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 1409 unchanged lines hidden (view full) ---

1418 AvailableQueue->remove(BtSU);
1419 }
1420 DEBUG(dbgs() << "ARTIFICIAL edge from SU(" << BtSU->NodeNum << ") to SU("
1421 << TrySU->NodeNum << ")\n");
1422 AddPred(TrySU, SDep(BtSU, SDep::Artificial));
1423
1424 // If one or more successors has been unscheduled, then the current
1425 // node is no longer available.
1426 if (!TrySU->isAvailable)
1426 if (!TrySU->isAvailable || !TrySU->NodeQueueId)
1427 CurSU = AvailableQueue->pop();
1428 else {
1427 CurSU = AvailableQueue->pop();
1428 else {
1429 // Available and in AvailableQueue
1429 AvailableQueue->remove(TrySU);
1430 CurSU = TrySU;
1431 }
1432 // Interferences has been mutated. We must break.
1433 break;
1434 }
1435 }
1436

--- 1604 unchanged lines hidden ---
1430 AvailableQueue->remove(TrySU);
1431 CurSU = TrySU;
1432 }
1433 // Interferences has been mutated. We must break.
1434 break;
1435 }
1436 }
1437

--- 1604 unchanged lines hidden ---