[llvm-commits] [llvm] r152374 - /llvm/trunk/lib/CodeGen/MachineScheduler.cpp

Andrew Trick atrick at apple.com
Thu Mar 8 19:46:42 PST 2012


Author: atrick
Date: Thu Mar  8 21:46:42 2012
New Revision: 152374

URL: http://llvm.org/viewvc/llvm-project?rev=152374&view=rev
Log:
misched comments

Modified:
    llvm/trunk/lib/CodeGen/MachineScheduler.cpp

Modified: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineScheduler.cpp?rev=152374&r1=152373&r2=152374&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Thu Mar  8 21:46:42 2012
@@ -173,9 +173,10 @@
             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





More information about the llvm-commits mailing list