summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-03-13 00:43:20 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-03-13 00:43:20 +0000
commitaf9a15fe64ff41a8bee585d21503dd024ebe074f (patch)
tree3f513acbe72866e689dba9556a9e40c74e1210d0 /llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp
parent97ac0a87808f5d2c351cab9535e476b309e6550b (diff)
downloadbcm5719-llvm-af9a15fe64ff41a8bee585d21503dd024ebe074f.tar.gz
bcm5719-llvm-af9a15fe64ff41a8bee585d21503dd024ebe074f.zip
Should fix mesa
llvm-svn: 20577
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp')
-rw-r--r--llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp b/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp
index 7a4df2bd351..3c8c616f000 100644
--- a/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp
+++ b/llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp
@@ -196,7 +196,7 @@ AlphaRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II) const {
//insert the new
MachineInstr* nMI=BuildMI(Alpha::LDAH, 2, Alpha::R28)
.addImm(getUpper16(Offset)).addReg(FP ? Alpha::R15 : Alpha::R30);
- MBB.insert(--II, nMI);
+ MBB.insert(II, nMI);
} else {
MI.SetMachineOperandConst(i, MachineOperand::MO_SignExtendedImmed, Offset);
}
OpenPOWER on IntegriCloud