Skip to content

Commit c0e1750

Browse files
committed
Fix typo
1 parent f0e1625 commit c0e1750

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/CodeGen/MachinePipeliner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class MachinePipeliner : public MachineFunctionPass {
118118
bool useWindowScheduler(bool Changed);
119119
};
120120

121-
/// Represents a dependnece between two instruction.
121+
/// Represents a dependence between two instruction.
122122
class SwingSchedulerDDGEdge {
123123
SUnit *Dst = nullptr;
124124
SDep Pred;

llvm/lib/CodeGen/MachinePipeliner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1894,7 +1894,7 @@ static bool pred_L(SetVector<SUnit *> &NodeOrder,
18941894

18951895
// FIXME: The following loop-carried dependencies may also need to be
18961896
// considered.
1897-
// - Physical register dependnecies (true-dependnece and WAW).
1897+
// - Physical register dependencies (true-dependence and WAW).
18981898
// - Memory dependencies.
18991899
for (const auto &OE : DDG->getOutEdges(SU)) {
19001900
SUnit *SuccSU = OE.getDst();

0 commit comments

Comments
 (0)