[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Fri Jun 4 15:52:09 PDT 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9RegInfo.cpp updated: 1.128 -> 1.129
---
Log message:
Fix up some spacing & fix a typo in an assertion in cpValue2Value.
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.128 llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.129
--- llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.128 Wed Jun 2 21:45:09 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp Fri Jun 4 15:51:40 2004
@@ -929,11 +929,11 @@
void
SparcV9RegInfo::cpValue2Value(Value *Src, Value *Dest,
- std::vector<MachineInstr*>& mvec) const {
+ std::vector<MachineInstr*>& mvec) const {
int RegType = getRegTypeForDataType(Src->getType());
MachineInstr * MI = NULL;
- switch( RegType ) {
+ switch (RegType) {
case IntRegType:
MI = BuildMI(V9::ADDr, 3).addReg(Src).addMReg(getZeroRegNum())
.addRegDef(Dest);
@@ -945,7 +945,7 @@
MI = BuildMI(V9::FMOVD, 2).addReg(Src).addRegDef(Dest);
break;
default:
- assert(0 && "Unknow RegType in CpValu2Value");
+ assert(0 && "Unknown RegType in cpValue2Value");
}
mvec.push_back(MI);
More information about the llvm-commits
mailing list