mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
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
This commit is contained in:
parent
90a24a560a
commit
d18d97abf8
@ -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,8 +1674,8 @@ MipsConstantIslands::fixupConditionalBr(ImmBranch &Br) {
|
||||
BuildMI(MBB, DebugLoc(), TII->get(OppositeBranchOpcode))
|
||||
.addReg(MI->getOperand(0).getReg())
|
||||
.addMBB(NextBB);
|
||||
}
|
||||
else { BuildMI(MBB, DebugLoc(), TII->get(OppositeBranchOpcode))
|
||||
} else {
|
||||
BuildMI(MBB, DebugLoc(), TII->get(OppositeBranchOpcode))
|
||||
.addMBB(NextBB);
|
||||
}
|
||||
Br.MI = &MBB->back();
|
||||
|
Loading…
x
Reference in New Issue
Block a user