From 84e2dc2d5dab78e1db73b33bf4bc1878b47744fa Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Sun, 13 Mar 2005 00:43:20 +0000 Subject: [PATCH] Should fix mesa git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20577 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Alpha/AlphaRegisterInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Alpha/AlphaRegisterInfo.cpp b/lib/Target/Alpha/AlphaRegisterInfo.cpp index 7a4df2bd351..3c8c616f000 100644 --- a/lib/Target/Alpha/AlphaRegisterInfo.cpp +++ b/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); }