This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] allSGPRSpillsAreDead() should use actual FP/BP frame indices
ClosedPublic

Authored by RamNalamothu on Aug 20 2020, 7:46 AM.

Details

Summary

The SGPR spills happen in SILowerSGPRSpills() and allSGPRSpillsAreDead()
make sure there are no SGPR spills pending during PEI. But the FP/BP
spills happen during PEI and are exceptions.

Use actual frame indices of FP/BP in allSGPRSpillsAreDead() to
accommodate the exceptions.

Diff Detail

Event Timeline

RamNalamothu created this revision.Aug 20 2020, 7:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2020, 7:46 AM
RamNalamothu requested review of this revision.Aug 20 2020, 7:46 AM
arsenm accepted this revision.Aug 20 2020, 9:19 AM
This revision is now accepted and ready to land.Aug 20 2020, 9:19 AM