This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Select global saddr mode from SGPR pointer
ClosedPublic

Authored by arsenm on Nov 12 2020, 1:40 PM.

Details

Summary

Use the 64-bit SGPR base with a 0 offset, since it's 1 fewer
instructions to materialize the 0 vs. the 64-bit copy.

Diff Detail

Event Timeline

arsenm created this revision.Nov 12 2020, 1:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2020, 1:40 PM
arsenm requested review of this revision.Nov 12 2020, 1:40 PM
This revision is now accepted and ready to land.Nov 12 2020, 1:44 PM