[all-commits] [llvm/llvm-project] a74e81: [AMDGPU] SIMemoryLegalizer: Factor out check if me...

Fabian Ritter via All-commits all-commits at lists.llvm.org
Tue Sep 23 02:55:08 PDT 2025


  Branch: refs/heads/users/ritter-x2a/09-22-_amdgpu_simemorylegalizer_factor_out_check_if_memory_operations_can_affect_the_global_as
  Home:   https://github.com/llvm/llvm-project
  Commit: a74e810b84577c80a5e8d9788e783381a63c6475
      https://github.com/llvm/llvm-project/commit/a74e810b84577c80a5e8d9788e783381a63c6475
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp

  Log Message:
  -----------
  [AMDGPU] SIMemoryLegalizer: Factor out check if memory operations can affect the global AS

Mostly NFC, and adds an assertion for gfx12 to ensure that no atomic scratch
instructions are present in the case of GloballyAddressableScratch. This should
always hold because of #154710.


  Commit: 1ae7b416e5c5d0f32103c64eddae46b92a58493a
      https://github.com/llvm/llvm-project/commit/1ae7b416e5c5d0f32103c64eddae46b92a58493a
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp

  Log Message:
  -----------
  Move the canAffectGlobalAddrSpace implementation to the SICacheControl base class.


Compare: https://github.com/llvm/llvm-project/compare/7b99e3885f26...1ae7b416e5c5

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list