From: Sergey Dmitrouk Date: Mon, 19 Jan 2015 12:02:25 +0000 (+0000) Subject: [NFC] Update createMachineScheduler() comment X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b20780d30579cf4af17b8be848f0d2f92bd322af;p=llvm [NFC] Update createMachineScheduler() comment It became invalid after signature changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226455 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h index 8ed32b8a8dd..8a8ff557bbe 100644 --- a/include/llvm/CodeGen/Passes.h +++ b/include/llvm/CodeGen/Passes.h @@ -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(C), /* IsPostRA= */false) /// /// Return NULL to select the default (generic) machine scheduler. virtual ScheduleDAGInstrs *