Make cosmetic changes as part of Mips internal post commit review of

patch r196331.

llvm-svn: 197638
This commit is contained in:
Reed Kotler 2013-12-19 00:43:08 +00:00
parent 66039937e8
commit 47f3c64a48
1 changed files with 4 additions and 4 deletions

View File

@ -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());