[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
Chris Lattner
sabre at nondot.org
Thu Nov 16 16:49:50 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCBranchSelector.cpp updated: 1.31 -> 1.32
---
Log message:
fix typo
---
Diffs of the changes: (+2 -2)
PPCBranchSelector.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
diff -u llvm/lib/Target/PowerPC/PPCBranchSelector.cpp:1.31 llvm/lib/Target/PowerPC/PPCBranchSelector.cpp:1.32
--- llvm/lib/Target/PowerPC/PPCBranchSelector.cpp:1.31 Thu Nov 16 17:49:52 2006
+++ llvm/lib/Target/PowerPC/PPCBranchSelector.cpp Thu Nov 16 18:49:36 2006
@@ -133,12 +133,12 @@
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
More information about the llvm-commits
mailing list