[all-commits] [llvm/llvm-project] 192f78: [AMDGPU][SIMemoryLegalizer] Consider scratch opera...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Sep 9 03:07:49 PDT 2026


  Branch: refs/heads/users/pierre-vh/scratch-is-nv-gfx1250
  Home:   https://github.com/llvm/llvm-project
  Commit: 192f788115fbb2593ff3e8a6286610eecb7d6d98
      https://github.com/llvm/llvm-project/commit/192f788115fbb2593ff3e8a6286610eecb7d6d98
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-09-09 (Wed, 09 Sep 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: f3d9ca073610bdb71f4c32aacf86a6056cb4ae1c
      https://github.com/llvm/llvm-project/commit/f3d9ca073610bdb71f4c32aacf86a6056cb4ae1c
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

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

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


  Commit: 4263ea7b93ba29729cb2dfecd724495e52890f37
      https://github.com/llvm/llvm-project/commit/4263ea7b93ba29729cb2dfecd724495e52890f37
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-09-09 (Wed, 09 Sep 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


  Commit: ae9cbb7033fb36a7df3e87f7e1344485e0d8fc95
      https://github.com/llvm/llvm-project/commit/ae9cbb7033fb36a7df3e87f7e1344485e0d8fc95
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

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

  Log Message:
  -----------
  Comments


Compare: https://github.com/llvm/llvm-project/compare/33bd6d85ef62...ae9cbb7033fb

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