This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Tweak VOP3_INTERP16 profile
ClosedPublic

Authored by foad on May 17 2021, 6:50 AM.

Details

Summary

Set the output register class based on the output type, instead of
hard-coding VGPR_32. I think this is more correct. It doesn't make any
difference at the moment because we use the same class for 16- and
32-bit results, but it might in future if we make more use of true
16-bit register classes.

Diff Detail

Event Timeline

foad created this revision.May 17 2021, 6:50 AM
foad requested review of this revision.May 17 2021, 6:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2021, 6:50 AM
arsenm accepted this revision.May 17 2021, 7:18 AM
This revision is now accepted and ready to land.May 17 2021, 7:18 AM
This revision was landed with ongoing or failed builds.May 17 2021, 7:30 AM
This revision was automatically updated to reflect the committed changes.