This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't rely on m0 being -1 for GWS offsets
ClosedPublic

Authored by arsenm on Jul 10 2019, 9:58 AM.

Details

Summary

This only works if the high bits of m0 are also 0, so m0 would have to
be set to 0xffff.

Diff Detail

Event Timeline

arsenm created this revision.Jul 10 2019, 9:58 AM
rampitec accepted this revision.Jul 10 2019, 3:15 PM
rampitec added a reviewer: kerbowa.

LGTM, but using 0xffff should be generally better.

This revision is now accepted and ready to land.Jul 10 2019, 3:15 PM
arsenm closed this revision.Jul 19 2019, 1:01 PM

r366608