[all-commits] [llvm/llvm-project] 8a91b6: [AMDGPU] Limit memory scope for scratch, LDS and GDS

Tony Tye via All-commits all-commits at lists.llvm.org
Sun Feb 14 09:35:42 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a91b68b95e6d1fd31e2a62a61ecb3a3506cf837
      https://github.com/llvm/llvm-project/commit/8a91b68b95e6d1fd31e2a62a61ecb3a3506cf837
  Author: Tony Tye <Tony.Tye at amd.com>
  Date:   2021-02-14 (Sun, 14 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
    M llvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
    M llvm/test/CodeGen/AMDGPU/atomicrmw-nand.ll
    M llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-local-agent.ll
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-local-system.ll

  Log Message:
  -----------
  [AMDGPU] Limit memory scope for scratch, LDS and GDS

Changes for AMD GPU SIMemoryLegalizer:

- Limit the memory scope to maximum supported by the scratch, LDS and
  GDS address spaces.

- Improve assertion checking.

- Correct toSIAtomicScope argument name.

Reviewed By: rampitec

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




More information about the All-commits mailing list