aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCBranchSelector.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-11-17 14:06:41 +0000
committerJim Laskey <jlaskey@mac.com>2006-11-17 14:06:41 +0000
commitc1c2f4b52bbb71c8ff3afc924ac49a7cae0f87f0 (patch)
tree039c11b3a0814f83a60dd409d8dc1d751f8c74c3 /lib/Target/PowerPC/PPCBranchSelector.cpp
parent5f64a16869ea8982146fccbc2f94011d550392f5 (diff)
Typo. Fix the nightly tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r--lib/Target/PowerPC/PPCBranchSelector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCBranchSelector.cpp b/lib/Target/PowerPC/PPCBranchSelector.cpp
index 7efa2ef78a..f5212afe63 100644
--- a/lib/Target/PowerPC/PPCBranchSelector.cpp
+++ b/lib/Target/PowerPC/PPCBranchSelector.cpp
@@ -137,7 +137,7 @@ bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) {
} else {
// Long branch, skip next branch instruction (i.e. $PC+8).
++NumExpanded;
- BuildMI(*MBB, MBBJ, Inverted, 2).addReg(CRReg).addImm(2);
+ BuildMI(*MBB, MBBI, Inverted, 2).addReg(CRReg).addImm(2);
MBBJ = BuildMI(*MBB, MBBI, PPC::B, 1).addMBB(DestMBB);
}