This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Extend SILoadStoreOptimizer to handle global saddr loads
ClosedPublic

Authored by rampitec on Feb 21 2022, 3:28 PM.

Details

Summary

This adds handling of the _SADDR forms to the GLOBAL_LOAD combining.

TODO: merge global stores.
TODO: merge flat load/stores.
TODO: merge flat with global promoting to flat.

Diff Detail

Event Timeline

rampitec created this revision.Feb 21 2022, 3:28 PM
rampitec requested review of this revision.Feb 21 2022, 3:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2022, 3:28 PM
Herald added a subscriber: wdng. · View Herald Transcript
foad accepted this revision.Feb 22 2022, 2:44 AM
foad added reviewers: critson, piotr, kmitropoulou.

LGTM.

This revision is now accepted and ready to land.Feb 22 2022, 2:44 AM
This revision was landed with ongoing or failed builds.Feb 22 2022, 9:02 AM
This revision was automatically updated to reflect the committed changes.