diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-17 00:49:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-17 00:49:36 +0000 |
commit | 8781466176e261f25268becc61f82e2f969f0cdb (patch) | |
tree | 7871cfb14fe1d776b725585bd54be69ad676bf03 /lib/Target/PowerPC | |
parent | 1ea783f13a83ce9402f543fbc2367d125dc26f91 (diff) | |
download | external_llvm-8781466176e261f25268becc61f82e2f969f0cdb.zip external_llvm-8781466176e261f25268becc61f82e2f969f0cdb.tar.gz external_llvm-8781466176e261f25268becc61f82e2f969f0cdb.tar.bz2 |
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r-- | lib/Target/PowerPC/PPCBranchSelector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCBranchSelector.cpp b/lib/Target/PowerPC/PPCBranchSelector.cpp index e022088..dcbcfbd 100644 --- a/lib/Target/PowerPC/PPCBranchSelector.cpp +++ b/lib/Target/PowerPC/PPCBranchSelector.cpp @@ -133,12 +133,12 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) { MachineBasicBlock::iterator MBBJ; if (Displacement >= -32768 && Displacement <= 32767) { - MBBJ = BuildMI(*MBB, MBBJ, Opcode, 2).addReg(CRReg).addMBB(DestMBB); + MBBJ = BuildMI(*MBB, MBBI, Opcode, 2).addReg(CRReg).addMBB(DestMBB); } else { // Long branch, skip next branch instruction (i.e. $PC+8). ++NumExpanded; BuildMI(*MBB, MBBJ, Inverted, 2).addReg(CRReg).addImm(2); - MBBJ = BuildMI(*MBB, MBBJ, PPC::B, 1).addMBB(DestMBB); + MBBJ = BuildMI(*MBB, MBBI, PPC::B, 1).addMBB(DestMBB); } // Erase the psuedo COND_BRANCH instruction, and then back up the |