This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Always use s33 for global scratch wave offset
ClosedPublic

Authored by arsenm on Jun 20 2019, 8:37 AM.

Details

Reviewers
rampitec
Summary

Every called function could possibly need this to calculate the
absolute address of stack objectst, and this avoids inserting a copy
around every call site in the kernel. It's also somewhat cleaner to
keep this in a callee saved SGPR.

Diff Detail

Event Timeline

arsenm created this revision.Jun 20 2019, 8:37 AM
This revision is now accepted and ready to land.Jun 20 2019, 9:27 AM
arsenm closed this revision.Jun 20 2019, 2:55 PM

r363990