mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Bug fix: incorrect SAVE instruction when using register for stack size.
llvm-svn: 3198
This commit is contained in:
parent
1e4ac639ad
commit
02b632401c
@ -115,7 +115,7 @@ void InsertPrologEpilogCode::InsertPrologCode(Function &F)
|
||||
// Now generate the SAVE using the value in register %l0
|
||||
M = new MachineInstr(SAVE);
|
||||
M->SetMachineOperandReg(0, Target.getRegInfo().getStackPointer());
|
||||
M->SetMachineOperandReg(1, MachineOperand::MO_MachineRegister, uregNum);
|
||||
M->SetMachineOperandReg(1, uregNum);
|
||||
M->SetMachineOperandReg(2, Target.getRegInfo().getStackPointer());
|
||||
mvec.push_back(M);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user