mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Remove an extra 8 byte distance penalty. Patch by Nate Begeman.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15305 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f63bc199c6
commit
b7697a6dd2
@ -113,10 +113,6 @@ namespace {
|
|||||||
BuildMI(*MBB, MBBI, Inverted, 2).addReg(PPC32::CR0).addSImm(8);
|
BuildMI(*MBB, MBBI, Inverted, 2).addReg(PPC32::CR0).addSImm(8);
|
||||||
BuildMI(*MBB, MBBI, PPC32::B, 1).addMBB(trueMBB);
|
BuildMI(*MBB, MBBI, PPC32::B, 1).addMBB(trueMBB);
|
||||||
BuildMI(*MBB, MBBI, PPC32::B, 1).addMBB(falseMBB);
|
BuildMI(*MBB, MBBI, PPC32::B, 1).addMBB(falseMBB);
|
||||||
|
|
||||||
// Let the byte tracker know that we just added 8 bytes worth of
|
|
||||||
// branches in addition to the original branch instruction.
|
|
||||||
ByteCount += 8;
|
|
||||||
}
|
}
|
||||||
MBB->erase(MI);
|
MBB->erase(MI);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user