aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV8/InstSelectSimple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/SparcV8/InstSelectSimple.cpp')
-rw-r--r--lib/Target/SparcV8/InstSelectSimple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SparcV8/InstSelectSimple.cpp b/lib/Target/SparcV8/InstSelectSimple.cpp
index 43f2646d1e..527b0bb47a 100644
--- a/lib/Target/SparcV8/InstSelectSimple.cpp
+++ b/lib/Target/SparcV8/InstSelectSimple.cpp
@@ -904,7 +904,7 @@ void V8ISel::visitBinaryOperator (Instruction &I) {
BuildMI (BB, Opcodes[OpCase], 2, ResultReg).addReg (Op0Reg).addReg (Op1Reg);
}
- switch (getClass (I.getType ())) {
+ switch (getClassB (I.getType ())) {
case cByte:
if (I.getType ()->isSigned ()) { // add byte
BuildMI (BB, V8::ANDri, 2, DestReg).addReg (ResultReg).addZImm (0xff);
@@ -926,7 +926,7 @@ void V8ISel::visitBinaryOperator (Instruction &I) {
}
break;
case cInt:
- // Nothing todo here.
+ // Nothing to do here.
break;
case cLong:
// Only support and, or, xor.