mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
Remove an extra 8 byte distance penalty. Patch by Nate Begeman.
llvm-svn: 15305
This commit is contained in:
parent
6e134ad499
commit
b699e3d825
@ -113,10 +113,6 @@ namespace {
|
||||
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(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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user