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
This commit is contained in:
Chris Lattner 2006-02-04 08:04:21 +00:00
parent 329a515fe7
commit c4b612ba2a
2 changed files with 2 additions and 2 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));
}

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));
}