[PATCH] D34675: Fix incorrect comment in machine-scheduler
Javed Absar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 27 03:04:06 PDT 2017
javed.absar created this revision.
The example code incorrectly invokes ScheduleDAGMI wherein from context it is clear it intends to invoke ScheduleDAGMILive actually.
https://reviews.llvm.org/D34675
Files:
include/llvm/CodeGen/MachineScheduler.h
Index: include/llvm/CodeGen/MachineScheduler.h
===================================================================
--- include/llvm/CodeGen/MachineScheduler.h
+++ include/llvm/CodeGen/MachineScheduler.h
@@ -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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34675.104114.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170627/c3abe0d1/attachment.bin>
More information about the llvm-commits
mailing list