Deleted Added
sdiff udiff text old ( 280031 ) new ( 283526 )
full compact
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 || !TrySU->NodeQueueId)
1427 CurSU = AvailableQueue->pop();
1428 else {
1429 // Available and in AvailableQueue
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 ---