aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-03-09 03:46:42 +0000
committerAndrew Trick <atrick@apple.com>2012-03-09 03:46:42 +0000
commitd24da97bbf86b87929ef8c57bdf3a009d48bfba7 (patch)
treeb66806012452bb79a93b11ab1519bcd229ee0d0a /lib/CodeGen/MachineScheduler.cpp
parent7799eb40d43a1b0b0fef10bfcd7963f9cfe6c362 (diff)
misched comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--lib/CodeGen/MachineScheduler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp
index 6090ffe27b..dc0c098a79 100644
--- a/lib/CodeGen/MachineScheduler.cpp
+++ b/lib/CodeGen/MachineScheduler.cpp
@@ -173,9 +173,10 @@ bool MachineScheduler::runOnMachineFunction(MachineFunction &mf) {
else dbgs() << "End";
dbgs() << " Remaining: " << RemainingCount << "\n");
- // Inform ScheduleDAGInstrs of the region being scheduled. It calls back
- // to our schedule() method.
+ // Schedule a region: possibly reorder instructions.
Scheduler->schedule();
+
+ // Close the current region.
Scheduler->exitRegion();
// Scheduling has invalidated the current iterator 'I'. Ask the