This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Remove unused tmp register
ClosedPublic

Authored by sebastian-ne on Feb 2 2021, 5:47 AM.

Details

Summary

The temporary register is only used to compute the frame pointer.
The frame pointer is overwritten and not used in between, so we
can reuse the frame pointer for the computation, saving one register.

Diff Detail

Event Timeline

sebastian-ne created this revision.Feb 2 2021, 5:47 AM
sebastian-ne requested review of this revision.Feb 2 2021, 5:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2021, 5:47 AM
arsenm accepted this revision.Feb 2 2021, 6:58 AM
This revision is now accepted and ready to land.Feb 2 2021, 6:58 AM
This revision was landed with ongoing or failed builds.Feb 2 2021, 8:18 AM
This revision was automatically updated to reflect the committed changes.