This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Move LDS lowering related utility functions to a separate utils file.
ClosedPublic

Authored by hsmhsm on Apr 14 2021, 10:14 PM.

Details

Summary

Move some utility functions which are used within LDS lowering pass to a separate utils
file so that other LDS related passes can make use of them when required.

Diff Detail

Event Timeline

hsmhsm created this revision.Apr 14 2021, 10:14 PM
hsmhsm requested review of this revision.Apr 14 2021, 10:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2021, 10:14 PM
hsmhsm updated this revision to Diff 337839.Apr 15 2021, 11:09 AM

Fixed review comments by Jon.

Thanks for the refactor. One last request is to move these functions under namespace AMDGPU, as that ensures the symbols can't collide with anyone else. Aside from that, LG.

hsmhsm updated this revision to Diff 337851.Apr 15 2021, 11:43 AM

Fixed review comments by Jon.

JonChesterfield accepted this revision.Apr 15 2021, 11:44 AM

Nice, thanks!

This revision is now accepted and ready to land.Apr 15 2021, 11:44 AM
This revision was landed with ongoing or failed builds.Apr 15 2021, 11:46 AM
This revision was automatically updated to reflect the committed changes.