[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcInstrInfo.cpp SparcInstrSelection.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 25 00:24:01 PDT 2003
Changes in directory llvm/lib/Target/Sparc:
SparcInstrInfo.cpp updated: 1.38 -> 1.39
SparcInstrSelection.cpp updated: 1.86 -> 1.87
---
Log message:
Fix obvious type-o
---
Diffs of the changes:
Index: llvm/lib/Target/Sparc/SparcInstrInfo.cpp
diff -u llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.38 llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.39
--- llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.38 Wed Jan 15 15:36:50 2003
+++ llvm/lib/Target/Sparc/SparcInstrInfo.cpp Fri Apr 25 00:23:09 2003
@@ -443,7 +443,7 @@
if (opSize > destSize ||
(val->getType()->isSigned()
- && destSize < target.getTargetData().getIntegerRegize()))
+ && destSize < target.getTargetData().getIntegerRegSize()))
{ // operand is larger than dest,
// OR both are equal but smaller than the full register size
// AND operand is signed, so it may have extra sign bits:
Index: llvm/lib/Target/Sparc/SparcInstrSelection.cpp
diff -u llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.86 llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.87
--- llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.86 Wed Jan 15 15:36:50 2003
+++ llvm/lib/Target/Sparc/SparcInstrSelection.cpp Fri Apr 25 00:23:10 2003
@@ -759,7 +759,7 @@
Value* shiftDest = destVal;
unsigned opSize = target.getTargetData().getTypeSize(argVal1->getType());
if ((shiftOpCode == SLL || shiftOpCode == SLLX)
- && opSize < target.getTargetData().getIntegerRegize())
+ && opSize < target.getTargetData().getIntegerRegSize())
{ // put SLL result into a temporary
shiftDest = new TmpInstruction(argVal1, optArgVal2, "sllTmp");
mcfi.addTemp(shiftDest);
@@ -2305,7 +2305,7 @@
.addReg(dest, MOTy::Def);
mvec.push_back(M);
}
- else if (destSize < target.getTargetData().getIntegerRegize())
+ else if (destSize < target.getTargetData().getIntegerRegSize())
assert(0 && "Unsupported type size: 32 < size < 64 bits");
}
}
More information about the llvm-commits
mailing list