From e7c776118c3ac4a301787b95237b9159e20fa88b Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Fri, 4 Jun 2004 20:51:40 +0000 Subject: [PATCH] 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 --- lib/Target/SparcV9/SparcV9RegInfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Target/SparcV9/SparcV9RegInfo.cpp b/lib/Target/SparcV9/SparcV9RegInfo.cpp index 0c36d3b63a7..2483ca8c366 100644 --- a/lib/Target/SparcV9/SparcV9RegInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegInfo.cpp @@ -929,11 +929,11 @@ SparcV9RegInfo::cpMem2RegMI(std::vector& mvec, void SparcV9RegInfo::cpValue2Value(Value *Src, Value *Dest, - std::vector& mvec) const { + std::vector& 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);