[all-commits] [llvm/llvm-project] 0b44e8: [AMDGPU][SIMemoryLegalizer] Consider scratch opera...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Jun 2 01:58:06 PDT 2026


  Branch: refs/heads/users/pierre-vh/scratch-is-nv-gfx1250
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b44e8a0bab72fd5d1de2071bc3343c2674dd455
      https://github.com/llvm/llvm-project/commit/0b44e8a0bab72fd5d1de2071bc3343c2674dd455
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-non-volatile.ll
    A llvm/test/CodeGen/AMDGPU/memory-legalizer-non-volatile.mir

  Log Message:
  -----------
  [AMDGPU][SIMemoryLegalizer] Consider scratch operations as NV=1 if GAS is disabled

- Clarify that `thread-private` MMO flag is still useful.
- If GAS is not enabled (which is the default as of last patch), consider an op as `NV=1` if it's a `scratch_` opcode, or if the MMO is in the private AS.
- Add tests for the new cases.
- Update AMDGPUUsage GFX12.5 memory model


  Commit: da7b50d76347a7b07f88e8200933a511d8a89de4
      https://github.com/llvm/llvm-project/commit/da7b50d76347a7b07f88e8200933a511d8a89de4
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-non-volatile.mir

  Log Message:
  -----------
  Fix MIR test


  Commit: fc81d3f152d443c2a9d55d541fae3d1974ea72b5
      https://github.com/llvm/llvm-project/commit/fc81d3f152d443c2a9d55d541fae3d1974ea72b5
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-non-volatile.ll
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-non-volatile.mir

  Log Message:
  -----------
  Restack + comments


Compare: https://github.com/llvm/llvm-project/compare/f5f7f8d61189...fc81d3f152d4

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