[llvm] r226455 - [NFC] Update createMachineScheduler() comment

Sergey Dmitrouk sdmitrouk at accesssoftek.com
Mon Jan 19 04:02:25 PST 2015


Author: sdmitrouk
Date: Mon Jan 19 06:02:25 2015
New Revision: 226455

URL: http://llvm.org/viewvc/llvm-project?rev=226455&view=rev
Log:
[NFC] Update createMachineScheduler() comment

It became invalid after signature changes.

Modified:
    llvm/trunk/include/llvm/CodeGen/Passes.h

Modified: llvm/trunk/include/llvm/CodeGen/Passes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/Passes.h?rev=226455&r1=226454&r2=226455&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/Passes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/Passes.h Mon Jan 19 06:02:25 2015
@@ -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 *





More information about the llvm-commits mailing list