diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2016-11-09 09:59:27 +0000 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2016-11-09 09:59:27 +0000 |
commit | 28f29487b9e4cbef4cf761111de703d274f5c386 (patch) | |
tree | e92b7cbdb7e06a234c4aed673cb3628d7649f03b /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 7e2cfbf0b7001cc49f918e0d1cfe94b527764fd3 (diff) | |
download | bcm5719-llvm-28f29487b9e4cbef4cf761111de703d274f5c386.tar.gz bcm5719-llvm-28f29487b9e4cbef4cf761111de703d274f5c386.zip |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<PostGenericScheduler>(C), /*IsPostRA=*/true); + return new ScheduleDAGMI(C, make_unique<PostGenericScheduler>(C), + /*RemoveKillFlags=*/true); } //===----------------------------------------------------------------------===// |