From: Reed Kotler Date: Thu, 19 Dec 2013 00:43:08 +0000 (+0000) Subject: Make cosmetic changes as part of Mips internal post commit review of X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d18d97abf8049d6afeb1ded75bd26691b98996cc;p=oota-llvm.git Make cosmetic changes as part of Mips internal post commit review of patch r196331. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197638 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsConstantIslandPass.cpp b/lib/Target/Mips/MipsConstantIslandPass.cpp index e8b4eb41dd3..c9964051678 100644 --- a/lib/Target/Mips/MipsConstantIslandPass.cpp +++ b/lib/Target/Mips/MipsConstantIslandPass.cpp @@ -1625,7 +1625,7 @@ MipsConstantIslands::fixupConditionalBr(ImmBranch &Br) { MachineBasicBlock *MBB = MI->getParent(); MachineInstr *BMI = &MBB->back(); bool NeedSplit = (BMI != MI) || !BBHasFallthrough(MBB); - unsigned OppositeBranchOpcode=TII->getOppositeBranchOpc(Opcode); + unsigned OppositeBranchOpcode = TII->getOppositeBranchOpc(Opcode); ++NumCBrFixed; if (BMI != MI) { @@ -1674,9 +1674,9 @@ MipsConstantIslands::fixupConditionalBr(ImmBranch &Br) { BuildMI(MBB, DebugLoc(), TII->get(OppositeBranchOpcode)) .addReg(MI->getOperand(0).getReg()) .addMBB(NextBB); - } - else { BuildMI(MBB, DebugLoc(), TII->get(OppositeBranchOpcode)) - .addMBB(NextBB); + } else { + BuildMI(MBB, DebugLoc(), TII->get(OppositeBranchOpcode)) + .addMBB(NextBB); } Br.MI = &MBB->back(); BBInfo[MBB->getNumber()].Size += TII->GetInstSizeInBytes(&MBB->back());