mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 21:47:07 +00:00
Back out change to divide getSpillSize by 8 until I figure out why it breaks x86, which has register sizes in bits.
llvm-svn: 16073
This commit is contained in:
parent
f71ef0965e
commit
ad24578e7d
@ -181,11 +181,11 @@ void PEI::calculateCallerSavedRegisters(MachineFunction &Fn) {
|
||||
int FrameIdx;
|
||||
if (FixedSlot == FixedSpillSlots+NumFixedSpillSlots) {
|
||||
// Nope, just spill it anywhere convenient.
|
||||
FrameIdx = FFI->CreateStackObject(RegInfo->getSpillSize(Reg)/8,
|
||||
FrameIdx = FFI->CreateStackObject(RegInfo->getSpillSize(Reg),
|
||||
RegInfo->getSpillAlignment(Reg)/8);
|
||||
} else {
|
||||
// Spill it to the stack where we must.
|
||||
FrameIdx = FFI->CreateFixedObject(RegInfo->getSpillSize(Reg)/8,
|
||||
FrameIdx = FFI->CreateFixedObject(RegInfo->getSpillSize(Reg),
|
||||
FixedSlot->second);
|
||||
}
|
||||
StackSlots.push_back(FrameIdx);
|
||||
|
Loading…
Reference in New Issue
Block a user