This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix computing live registers in prolog
ClosedPublic

Authored by sebastian-ne on Apr 8 2021, 5:07 AM.

Details

Summary

ScratchExecCopy needs to be marked as live, we cannot use that register
while EXEC is stored in there.

Marking SGPRForFPSaveRestoreCopy and SGPRForBPSaveRestoreCopy as
available is unnecessary, they should not be live at that point anway.

Diff Detail

Event Timeline

sebastian-ne created this revision.Apr 8 2021, 5:07 AM
sebastian-ne requested review of this revision.Apr 8 2021, 5:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2021, 5:07 AM
arsenm accepted this revision.Apr 8 2021, 5:41 AM
This revision is now accepted and ready to land.Apr 8 2021, 5:41 AM
This revision was automatically updated to reflect the committed changes.