[llvm] r197638 - Make cosmetic changes as part of Mips internal post commit review of
Reed Kotler
rkotler at mips.com
Wed Dec 18 16:43:08 PST 2013
Author: rkotler
Date: Wed Dec 18 18:43:08 2013
New Revision: 197638
URL: http://llvm.org/viewvc/llvm-project?rev=197638&view=rev
Log:
Make cosmetic changes as part of Mips internal post commit review of
patch r196331.
Modified:
llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp?rev=197638&r1=197637&r2=197638&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp Wed Dec 18 18:43:08 2013
@@ -1625,7 +1625,7 @@ MipsConstantIslands::fixupConditionalBr(
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(
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());
More information about the llvm-commits
mailing list