File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " SystemZMachineScheduler.h"
10- #include " llvm/CodeGen/LiveInterval.h"
11- #include " llvm/CodeGen/LiveIntervals.h"
1210#include " llvm/CodeGen/MachineLoopInfo.h"
1311
1412using namespace llvm ;
@@ -198,7 +196,7 @@ static int biasPhysRegExtra(const SUnit *SU) {
198196 return Res;
199197
200198 // Also recognize Load Address of stack slot. There are (at least
201- // currently) no instructions here defining a physreg that uses a vreg.
199+ // currently) no instructions here defining a physreg that use a vreg.
202200 const MachineInstr *MI = SU->getInstr ();
203201 if (MI->getNumOperands () && !MI->isCopy ()) {
204202 const MachineOperand &DefMO = MI->getOperand (0 );
Original file line number Diff line number Diff line change 88
99// -------------------------- Pre RA scheduling ----------------------------- //
1010//
11- // SystemZPreRASchedStrategy keeps track of currently live registers and first
12- // tries to reduce live ranges by scheduling e.g. a load of a live register
13- // immediately (bottom-up). It also aims to preserve the scheduled latency.
14- // Small regions (up to 10 instructions) are mostly left alone as the input
15- // order is usually then preferred .
11+ // SystemZPreRASchedStrategy tries to reduce register pressure by applying
12+ // OOO heuristics and then also in certain regions reduces latency. Tiny
13+ // regions are mostly left alone as the input order is usually then preferred
14+ // (due to copys involving physregs and comparison elimination
15+ // opportunities) .
1616//
1717// -------------------------- Post RA scheduling ---------------------------- //
1818//
You can’t perform that action at this time.
0 commit comments