This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Handle rewriting ptrmask for more address spaces
ClosedPublic

Authored by arsenm on May 18 2020, 8:36 AM.

Details

Summary

If this mask only clears bits in the low 32-bit half of a flat
pointer, these bits are always preserved in the result address
space. If the high bits are modified, they may need to be preserved
for some kind of user pointer tagging.

Diff Detail

Event Timeline

arsenm created this revision.May 18 2020, 8:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2020, 8:36 AM
arsenm updated this revision to Diff 264642.May 18 2020, 8:45 AM

Adjust mask type to canonical pointer size

hliao accepted this revision.May 28 2020, 10:48 AM

LGTM

This revision is now accepted and ready to land.May 28 2020, 10:48 AM