aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-09-23 17:28:11 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-09-23 17:28:11 +0000
commit452db67a0e17fea87403962af3fcdef9a05e4eb8 (patch)
treec26c9e91486405a9028b7f70151b8a18e27a63bb
parent8b2fe1943c524b87a78d23217495e53b27984d5c (diff)
Fixed spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8687 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9InstrSelection.cpp4
-rw-r--r--lib/Target/SparcV9/SparcV9RegClassInfo.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SparcV9/SparcV9InstrSelection.cpp b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
index b5a6fe0c4c..153bfc354c 100644
--- a/lib/Target/SparcV9/SparcV9InstrSelection.cpp
+++ b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
@@ -177,7 +177,7 @@ GetGEPInstArgs(InstructionNode* gepNode,
Value* ptrVal = gepI->getPointerOperand();
InstrTreeNode* ptrChild = gepNode->leftChild();
- // Extract the index vector of the GEP instructin.
+ // Extract the index vector of the GEP instruction.
// If all indices are constant and first index is zero, try to fold
// in preceding GEPs with all constant indices.
for (User::op_iterator OI=gepI->idx_begin(), OE=gepI->idx_end();
@@ -2917,7 +2917,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
assert(numSubst > 0 && "Operand `dest' not replaced: probably bogus!");
// Left shift 32-N if size (N) is less than 32 bits.
- // Use another tmp. virtual registe to represent this result.
+ // Use another tmp. virtual register to represent this result.
if (destSize < 4) {
srlArgToUse = new TmpInstruction(mcfi, dest->getType(),
tmpI, NULL, "maskHi2");
diff --git a/lib/Target/SparcV9/SparcV9RegClassInfo.cpp b/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
index babc6fb72c..8f51264006 100644
--- a/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
+++ b/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
@@ -76,7 +76,7 @@ void SparcIntRegClass::colorIGNode(IGNode * Node,
}
if (ColorFound) {
- LR->setColor(c); // first color found in preffered order
+ LR->setColor(c); // first color found in preferred order
if (DEBUG_RA) std::cerr << "\n Colored after first search with col " << c;
}