Remove an extra 8 byte distance penalty. Patch by Nate Begeman.
authorMisha Brukman <brukman+llvm@gmail.com>
Wed, 28 Jul 2004 19:13:07 +0000 (19:13 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Wed, 28 Jul 2004 19:13:07 +0000 (19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15305 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCBranchSelector.cpp

index dbc4b7de489949fd8cbb3e5b4fd36cb164c3101b..e5a3a33fbefec0cb2b9016e31ccb71f4a86f2a64 100644 (file)
@@ -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);
           }