aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAlloc/RegClass.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-09-11 22:34:13 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-09-11 22:34:13 +0000
commit37f92e25689bacd2308c92f33d01163478cf5ad1 (patch)
tree8f4ebfd4ceb92c20cb91f8fdd79f055b46bba570 /lib/CodeGen/RegAlloc/RegClass.cpp
parent515c97c2301ac56f00f3acc443fc823e3153942e (diff)
Fixed spelling and grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/RegClass.cpp')
-rw-r--r--lib/CodeGen/RegAlloc/RegClass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/RegAlloc/RegClass.cpp b/lib/CodeGen/RegAlloc/RegClass.cpp
index d4bd7146b2..12582cc782 100644
--- a/lib/CodeGen/RegAlloc/RegClass.cpp
+++ b/lib/CodeGen/RegAlloc/RegClass.cpp
@@ -93,7 +93,7 @@ void RegClass::pushAllIGNodes()
//
IGNodeSpill->pushOnStack();
- // now push NON-constrined ones, if any
+ // now push NON-constrained ones, if any
//
NeedMoreSpills = !pushUnconstrainedIGNodes();
@@ -154,7 +154,7 @@ bool RegClass::pushUnconstrainedIGNodes()
//----------------------------------------------------------------------------
-// Get the IGNode withe the minimum spill cost
+// Get the IGNode with the minimum spill cost
//----------------------------------------------------------------------------
IGNode * RegClass::getIGNodeWithMinSpillCost()
{
@@ -216,8 +216,8 @@ void RegClass::colorIGNode(IGNode *const Node)
IGNode *NeighIGNode = Node->getAdjIGNode(n);
LiveRange *NeighLR = NeighIGNode->getParentLR();
- // Don't use a color if it is in use by the neighbour,
- // or is suggested for use by the neighbour,
+ // Don't use a color if it is in use by the neighbor,
+ // or is suggested for use by the neighbor,
// markColorsUsed() should be given the color and the reg type for
// LR, not for NeighLR, because it should mark registers used based on
// the type we are looking for, not on the regType for the neighbour.