This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Make AllocationPriority of SGPRs higher than VGPRs
ClosedPublic

Authored by arsenm on Dec 7 2016, 12:12 PM.

Details

Reviewers
tstellarAMD
Summary

Since SGPRs should spill to VGPRs, they should be allocated first.
I don't think this is sufficient for SGPRs to always spill to
VGPRs though.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 80640.Dec 7 2016, 12:12 PM
arsenm retitled this revision from to AMDGPU: Make AllocationPriority of SGPRs higher than VGPRs.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Dec 7 2016, 1:23 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Dec 7 2016, 1:23 PM
arsenm closed this revision.Dec 15 2016, 12:51 PM

r289671