diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-04 20:51:40 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-04 20:51:40 +0000 |
commit | e7c776118c3ac4a301787b95237b9159e20fa88b (patch) | |
tree | ab581ef33106367fbb4fab40a46bb3173d869128 | |
parent | d9a98de5c82c367764e99b7efda8847f872b079b (diff) | |
download | external_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.cpp | 6 |
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); |