[all-commits] [llvm/llvm-project] 2f1c75: [AMDGPU][SIMemoryLegalizer] Consider scratch opera...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Thu Jun 4 00:43:31 PDT 2026


  Branch: refs/heads/users/pierre-vh/scratch-is-nv-gfx1250
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f1c7597bb67112f67ac33031c0a5d00b64aa422
      https://github.com/llvm/llvm-project/commit/2f1c7597bb67112f67ac33031c0a5d00b64aa422
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-06-04 (Thu, 04 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: b44c2a4e444e455fa5c1593bac4d5c19651ce6b0
      https://github.com/llvm/llvm-project/commit/b44c2a4e444e455fa5c1593bac4d5c19651ce6b0
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

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

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


  Commit: b47d4bc90c0def78d0131b9b0c3ed766a54e945c
      https://github.com/llvm/llvm-project/commit/b47d4bc90c0def78d0131b9b0c3ed766a54e945c
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-06-04 (Thu, 04 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


  Commit: 06a0c0614322531774407858ef9aa96c653e6136
      https://github.com/llvm/llvm-project/commit/06a0c0614322531774407858ef9aa96c653e6136
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-06-04 (Thu, 04 Jun 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/fc81d3f152d4...06a0c0614322

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