[llvm] r286350 - [MachineScheduler] Comments fixing.
Jonas Paulsson via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 9 01:59:28 PST 2016
Author: jonpa
Date: Wed Nov 9 03:59:27 2016
New Revision: 286350
URL: http://llvm.org/viewvc/llvm-project?rev=286350&view=rev
Log:
[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
Modified:
llvm/trunk/lib/CodeGen/MachineScheduler.cpp
llvm/trunk/lib/Target/SystemZ/SystemZTargetMachine.cpp
Modified: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineScheduler.cpp?rev=286350&r1=286349&r2=286350&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp Wed Nov 9 03:59:27 2016
@@ -3267,7 +3267,8 @@ void PostGenericScheduler::schedNode(SUn
/// 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);
}
//===----------------------------------------------------------------------===//
Modified: llvm/trunk/lib/Target/SystemZ/SystemZTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZTargetMachine.cpp?rev=286350&r1=286349&r2=286350&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZTargetMachine.cpp Wed Nov 9 03:59:27 2016
@@ -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;
More information about the llvm-commits
mailing list