OSDN Git Service

Fix incorrect comment in machine-scheduler
authorJaved Absar <javed.absar@arm.com>
Tue, 27 Jun 2017 16:49:45 +0000 (16:49 +0000)
committerJaved Absar <javed.absar@arm.com>
Tue, 27 Jun 2017 16:49:45 +0000 (16:49 +0000)
The example code incorrectly invokes ScheduleDAGMI wherein from context
it is clear it intends to invoke ScheduleDAGMILive actually.

Reviewed by: Andrew Trick
Differential Revision: https://reviews.llvm.org/D34675

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306424 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineScheduler.h

index 34cbffa..8590b7a 100644 (file)
@@ -32,7 +32,7 @@
 //
 // ScheduleDAGInstrs *<Target>PassConfig::
 // createMachineScheduler(MachineSchedContext *C) {
-//   return new ScheduleDAGMI(C, CustomStrategy(C));
+//   return new ScheduleDAGMILive(C, CustomStrategy(C));
 // }
 //
 // The DAG builder can also be customized in a sense by adding DAG mutations