]> granicus.if.org Git - llvm/commitdiff
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 34cbffa78203ab10b507d4fb1cd69c4f61192a0b..8590b7a348cfc3ed1d90adccef64f87c79752197 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