Skip to content

Commit 335565b

Browse files
committed
Commenting. Remove two stale #include:s.
1 parent 567c80d commit 335565b

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
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

1412
using 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);

llvm/lib/Target/SystemZ/SystemZMachineScheduler.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
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
//

0 commit comments

Comments
 (0)