misched comments
[oota-llvm.git] / lib / CodeGen / MachineScheduler.cpp
index 6090ffe27bbf1aad88a52e15b9d8b3abd4e35c13..dc0c098a795ab6f885371fc52552a4e377fdfc3c 100644 (file)
@@ -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