This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Allow using SGPRs 96-101 on VI
ClosedPublic

Authored by mareko on Nov 27 2016, 11:12 AM.

Details

Summary

There is no point in setting SGPRS=104, because VI allocates SGPRs
in multiples of 16, so 104 -> 112. That enables us to use all 102 SGPRs
for general purposes.

Diff Detail

Repository
rL LLVM

Event Timeline

mareko updated this revision to Diff 79355.Nov 27 2016, 11:12 AM
mareko retitled this revision from to AMDGPU/SI: Allow using SGPRs 96-101 on VI.
mareko updated this object.
nhaehnle accepted this revision.Nov 28 2016, 7:29 AM
nhaehnle added a reviewer: nhaehnle.

LGTM

This revision is now accepted and ready to land.Nov 28 2016, 7:29 AM
This revision was automatically updated to reflect the committed changes.