forked from OSchip/llvm-project
parent
da0add3fd0
commit
91542a4f2d
|
@ -137,7 +137,7 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) {
|
||||||
} else {
|
} else {
|
||||||
// Long branch, skip next branch instruction (i.e. $PC+8).
|
// Long branch, skip next branch instruction (i.e. $PC+8).
|
||||||
++NumExpanded;
|
++NumExpanded;
|
||||||
BuildMI(*MBB, MBBJ, Inverted, 2).addReg(CRReg).addImm(2);
|
BuildMI(*MBB, MBBI, Inverted, 2).addReg(CRReg).addImm(2);
|
||||||
MBBJ = BuildMI(*MBB, MBBI, PPC::B, 1).addMBB(DestMBB);
|
MBBJ = BuildMI(*MBB, MBBI, PPC::B, 1).addMBB(DestMBB);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue