summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorSergey Dmitrouk <sdmitrouk@accesssoftek.com>2015-01-19 12:02:25 +0000
committerSergey Dmitrouk <sdmitrouk@accesssoftek.com>2015-01-19 12:02:25 +0000
commit611b992add8e4439678f73d36afb2dd9f196ca63 (patch)
treed4b10f9ef8c28a1d5fb7b57cfadf6147847e35dd /llvm
parent9b79efb51f9ec9d6847a7373092c5006da2eeae1 (diff)
downloadbcm5719-llvm-611b992add8e4439678f73d36afb2dd9f196ca63.tar.gz
bcm5719-llvm-611b992add8e4439678f73d36afb2dd9f196ca63.zip
[NFC] Update createMachineScheduler() comment
It became invalid after signature changes. llvm-svn: 226455
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/Passes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/Passes.h b/llvm/include/llvm/CodeGen/Passes.h
index 8ed32b8a8dd..8a8ff557bbe 100644
--- a/llvm/include/llvm/CodeGen/Passes.h
+++ b/llvm/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<MyStrategy>(C), /* IsPostRA= */false)
///
/// Return NULL to select the default (generic) machine scheduler.
virtual ScheduleDAGInstrs *
OpenPOWER on IntegriCloud