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.
Paths
| Differential D120285
[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.
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 7 others. · View Herald TranscriptFeb 21 2022, 3:28 PM rampitec added a parent revision: D120279: [AMDGPU] Extend SILoadStoreOptimizer to handle global loads.Feb 21 2022, 3:28 PM 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 Closed by commit rG9e055c0fffa1: [AMDGPU] Extend SILoadStoreOptimizer to handle global saddr loads (authored by rampitec). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 410559 llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
llvm/test/CodeGen/AMDGPU/merge-global-load-store.mir
|