diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-28 19:13:07 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-28 19:13:07 +0000 |
commit | b7697a6dd27b747dd186022d67ff43d45125d365 (patch) | |
tree | 4494aef4c2c26cddacc77f8c4e126c5c22a6ca72 /lib/Target/PowerPC/PPCBranchSelector.cpp | |
parent | f63bc199c65a19952c480eb4d0c592dfd58c966f (diff) |
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
Diffstat (limited to 'lib/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCBranchSelector.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCBranchSelector.cpp b/lib/Target/PowerPC/PPCBranchSelector.cpp index dbc4b7de48..e5a3a33fbe 100644 --- a/lib/Target/PowerPC/PPCBranchSelector.cpp +++ b/lib/Target/PowerPC/PPCBranchSelector.cpp @@ -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); } |