This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Use reserved VGPR for AGPR spills to memory
ClosedPublic

Authored by arsenm on Feb 4 2022, 12:33 PM.

Details

Reviewers
rampitec
Group Reviewers
Restricted Project
Summary

Previously would reuse the VGPR used for large frame offsets with the
one needed for copying from the AGPR. Fix this by reusing the register
we already reserved for handling AGPR to AGPR copies.

Diff Detail

Event Timeline

arsenm created this revision.Feb 4 2022, 12:33 PM
arsenm requested review of this revision.Feb 4 2022, 12:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2022, 12:33 PM
Herald added a subscriber: wdng. · View Herald Transcript
rampitec accepted this revision.Feb 4 2022, 12:48 PM
This revision is now accepted and ready to land.Feb 4 2022, 12:48 PM