1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[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
This commit is contained in:
Jonas Paulsson 2016-11-09 09:59:27 +00:00
parent 8a98bf69b0
commit 72edb83875
2 changed files with 3 additions and 2 deletions

View File

@ -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);
}
//===----------------------------------------------------------------------===//

View File

@ -117,7 +117,7 @@ public:
ScheduleDAGInstrs *
createPostMachineScheduler(MachineSchedContext *C) const override {
return new ScheduleDAGMI(C, make_unique<SystemZPostRASchedStrategy>(C),
/*IsPostRA=*/true);
/*RemoveKillFlags=*/true);
}
void addIRPasses() override;