From 28f29487b9e4cbef4cf761111de703d274f5c386 Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Wed, 9 Nov 2016 09:59:27 +0000 Subject: [MachineScheduler] Comments fixing. The name/comment of the third argument to the ScheduleDAGMI constructor is RemoveKillFlags and not IsPostRA. Only the comments are changed. Review: A Trick llvm-svn: 286350 --- llvm/lib/CodeGen/MachineScheduler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp') diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index 7946ca775ca..335578b9bbc 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -3267,7 +3267,8 @@ void PostGenericScheduler::schedNode(SUnit *SU, bool IsTopNode) { /// Create a generic scheduler with no vreg liveness or DAG mutation passes. static ScheduleDAGInstrs *createGenericSchedPostRA(MachineSchedContext *C) { - return new ScheduleDAGMI(C, make_unique(C), /*IsPostRA=*/true); + return new ScheduleDAGMI(C, make_unique(C), + /*RemoveKillFlags=*/true); } //===----------------------------------------------------------------------===// -- cgit v1.2.3