summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-04 20:51:40 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-04 20:51:40 +0000
commite7c776118c3ac4a301787b95237b9159e20fa88b (patch)
treeab581ef33106367fbb4fab40a46bb3173d869128
parentd9a98de5c82c367764e99b7efda8847f872b079b (diff)
downloadexternal_llvm-e7c776118c3ac4a301787b95237b9159e20fa88b.zip
external_llvm-e7c776118c3ac4a301787b95237b9159e20fa88b.tar.gz
external_llvm-e7c776118c3ac4a301787b95237b9159e20fa88b.tar.bz2
Fix up some spacing & fix a typo in an assertion in cpValue2Value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14027 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9RegInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SparcV9/SparcV9RegInfo.cpp b/lib/Target/SparcV9/SparcV9RegInfo.cpp
index 0c36d3b..2483ca8 100644
--- a/lib/Target/SparcV9/SparcV9RegInfo.cpp
+++ b/lib/Target/SparcV9/SparcV9RegInfo.cpp
@@ -929,11 +929,11 @@ SparcV9RegInfo::cpMem2RegMI(std::vector<MachineInstr*>& mvec,
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 @@ SparcV9RegInfo::cpValue2Value(Value *Src, Value *Dest,
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);