This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Use subreg encoding instead of reassign
ClosedPublic

Authored by Joe_Nash on Mar 10 2022, 9:50 AM.

Details

Summary

The HWEncoding for these 64 bit registers should be the same as as the
encoding for the previously defined low halves of the registers. So
reuse that value instead of repeating the assignment. NFC.

Diff Detail

Event Timeline

Joe_Nash created this revision.Mar 10 2022, 9:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2022, 9:50 AM
Joe_Nash requested review of this revision.Mar 10 2022, 9:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2022, 9:50 AM
foad accepted this revision.Mar 10 2022, 9:55 AM

Looks obviously fine.

This revision is now accepted and ready to land.Mar 10 2022, 9:55 AM
This revision was landed with ongoing or failed builds.Mar 10 2022, 10:13 AM
This revision was automatically updated to reflect the committed changes.