[NFC] Update createMachineScheduler() comment
[oota-llvm.git] / 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 *