]> granicus.if.org Git - llvm/commitdiff
[NFC] Update createMachineScheduler() comment
authorSergey Dmitrouk <sdmitrouk@accesssoftek.com>
Mon, 19 Jan 2015 12:02:25 +0000 (12:02 +0000)
committerSergey Dmitrouk <sdmitrouk@accesssoftek.com>
Mon, 19 Jan 2015 12:02:25 +0000 (12:02 +0000)
It became invalid after signature changes.

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

include/llvm/CodeGen/Passes.h

index 8ed32b8a8dd55ba57400ea8bcf112c9281fd8d8d..8a8ff557bbe0c561e3edc3993023c2506f3d4bf5 100644 (file)
@@ -214,7 +214,7 @@ public:
   ///
   /// This can also be used to plug a new MachineSchedStrategy into an instance
   /// of the standard ScheduleDAGMI:
-  ///   return new ScheduleDAGMI(C, new MyStrategy(C))
+  ///   return new ScheduleDAGMI(C, make_unique<MyStrategy>(C), /* IsPostRA= */false)
   ///
   /// Return NULL to select the default (generic) machine scheduler.
   virtual ScheduleDAGInstrs *