[all-commits] [llvm/llvm-project] c7735f: [AMDGPU][HWEvents] Refactor VMEM_ACCESS as VMEM_RE...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Fri Jun 26 01:22:04 PDT 2026


  Branch: refs/heads/users/pierre-vh/simplify-vmemaccess-event
  Home:   https://github.com/llvm/llvm-project
  Commit: c7735f14fd69326b26dfb7ef6981a9367b49e6b2
      https://github.com/llvm/llvm-project/commit/c7735f14fd69326b26dfb7ef6981a9367b49e6b2
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-06-26 (Fri, 26 Jun 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUHWEvents.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHWEvents.def
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

  Log Message:
  -----------
  [AMDGPU][HWEvents] Refactor VMEM_ACCESS as VMEM_READ_ACCESS

Instead of having an HWEvent that can be either a read or a write
depending on the target, keep the events as straightforward as
possible and let InsertWaitCnt interpret it. Rename VMEM_ACCESS
to VMEM_READ_ACCESS and set VMEM_STORE_ACCESS & similar events
even if the target does not have a VSCnt.

I think this conceptually makes more sense.
This separates concerns better so that HWEvents nodels events
objectively, and InsertWaitCnt handles them as necessary for the task
it is trying to achieve (insert wait instructions).


  Commit: 4e43c8a7fd916450fa716d8cd13804e8806d8e38
      https://github.com/llvm/llvm-project/commit/4e43c8a7fd916450fa716d8cd13804e8806d8e38
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-06-26 (Fri, 26 Jun 2026)

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

  Log Message:
  -----------
  Adjust comment


Compare: https://github.com/llvm/llvm-project/compare/78fab2038397...4e43c8a7fd91

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