[llvm] r306424 - Fix incorrect comment in machine-scheduler
Javed Absar via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 27 09:49:45 PDT 2017
Author: javed.absar
Date: Tue Jun 27 09:49:45 2017
New Revision: 306424
URL: http://llvm.org/viewvc/llvm-project?rev=306424&view=rev
Log:
Fix incorrect comment in machine-scheduler
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
Modified:
llvm/trunk/include/llvm/CodeGen/MachineScheduler.h
Modified: llvm/trunk/include/llvm/CodeGen/MachineScheduler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineScheduler.h?rev=306424&r1=306423&r2=306424&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineScheduler.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineScheduler.h Tue Jun 27 09:49:45 2017
@@ -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
More information about the llvm-commits
mailing list