mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-09 22:13:07 +00:00
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:
parent
329a515fe7
commit
c4b612ba2a
@ -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));
|
||||
}
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user