mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 05:30:49 +00: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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286350 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32054b584b
commit
e9ba8f332a
@ -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);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user