[all-commits] [llvm/llvm-project] 9e055c: [AMDGPU] Extend SILoadStoreOptimizer to handle glo...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Tue Feb 22 09:02:09 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e055c0fffa10e7bb02710c989129d503b39fc94
      https://github.com/llvm/llvm-project/commit/9e055c0fffa10e7bb02710c989129d503b39fc94
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2022-02-22 (Tue, 22 Feb 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
    M llvm/test/CodeGen/AMDGPU/merge-global-load-store.mir

  Log Message:
  -----------
  [AMDGPU] Extend SILoadStoreOptimizer to handle global saddr loads

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.

Differential Revision: https://reviews.llvm.org/D120285




More information about the All-commits mailing list