aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:57:28 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:57:28 +0000
commitcf00c4ab3ba308d45d98c5ccab87362cf802facb (patch)
treeba6836d8bf430b9b2fb55ad5fd6d2a02f18a9f32 /lib/Target/SparcV9/SparcV9RegClassInfo.cpp
parent452fea997232437902385e88366482b01957eeef (diff)
Fix spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9RegClassInfo.cpp')
-rw-r--r--lib/Target/SparcV9/SparcV9RegClassInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SparcV9/SparcV9RegClassInfo.cpp b/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
index 8f51264006..6248a83323 100644
--- a/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
+++ b/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
@@ -261,7 +261,7 @@ void SparcFloatRegClass::colorIGNode(IGNode * Node,
return;
} else {
- // if we didn't find a color becuase the LR was single precision or
+ // if we didn't find a color because the LR was single precision or
// all f32-f63 range is filled, we try to allocate a register from
// the f0 - f31 region
@@ -292,7 +292,7 @@ void SparcFloatRegClass::colorIGNode(IGNode * Node,
}
if (ColorFound >= 0) {
- LR->setColor(ColorFound); // first color found in prefered order
+ LR->setColor(ColorFound); // first color found in preferred order
LR->markForSaveAcrossCalls();
} else {
// we are here because no color could be found