llvm.org GIT mirror llvm / c4b612b
Fix a nasty typo that broke functions with big stack frames. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25966 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
144144 BuildMI(*MI.getParent(), II, V8::ADDrr, 2,
145145 V8::G1).addReg(V8::G1).addReg(V8::I6);
146146 // Insert: G1+%lo(offset) into the user.
147 MI.SetMachineOperandReg(i, V8::I1);
147 MI.SetMachineOperandReg(i, V8::G1);
148148 MI.SetMachineOperandConst(i+1, MachineOperand::MO_SignExtendedImmed,
149149 Offset & ((1 << 10)-1));
150150 }
144144 BuildMI(*MI.getParent(), II, V8::ADDrr, 2,
145145 V8::G1).addReg(V8::G1).addReg(V8::I6);
146146 // Insert: G1+%lo(offset) into the user.
147 MI.SetMachineOperandReg(i, V8::I1);
147 MI.SetMachineOperandReg(i, V8::G1);
148148 MI.SetMachineOperandConst(i+1, MachineOperand::MO_SignExtendedImmed,
149149 Offset & ((1 << 10)-1));
150150 }