Fix a nasty typo that broke functions with big stack frames.

llvm-svn: 25966
This commit is contained in:
Chris Lattner 2006-02-04 08:04:21 +00:00
parent d096b2f3e0
commit a1fa8b1c88
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ SparcV8RegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II) const {
BuildMI(*MI.getParent(), II, V8::ADDrr, 2,
V8::G1).addReg(V8::G1).addReg(V8::I6);
// Insert: G1+%lo(offset) into the user.
MI.SetMachineOperandReg(i, V8::I1);
MI.SetMachineOperandReg(i, V8::G1);
MI.SetMachineOperandConst(i+1, MachineOperand::MO_SignExtendedImmed,
Offset & ((1 << 10)-1));
}