mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 16:16:45 +00:00
AMDGPU: Use CreateStackObject instead of CreateSpillStackObject
I'm not sure what the difference is, but no other target uses this for emergency spill slots. llvm-svn: 278272
This commit is contained in:
parent
aa564b237e
commit
d534109bca
@ -290,9 +290,9 @@ void SIFrameLowering::processFunctionBeforeFrameFinalized(
|
||||
"RegScavenger required if spilling");
|
||||
|
||||
if (MayNeedScavengingEmergencySlot) {
|
||||
int ScavengeFI = MFI.CreateSpillStackObject(
|
||||
int ScavengeFI = MFI.CreateStackObject(
|
||||
AMDGPU::SGPR_32RegClass.getSize(),
|
||||
AMDGPU::SGPR_32RegClass.getAlignment());
|
||||
AMDGPU::SGPR_32RegClass.getAlignment(), false);
|
||||
RS->addScavengingFrameIndex(ScavengeFI);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user