[all-commits] [llvm/llvm-project] 6c6e90: [NFC][AMDGPU] Generalize some LDS MemoryUtils (#19...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Mon Jun 15 04:34:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c6e905d10152ed30d057d7ee22332846785fe47
      https://github.com/llvm/llvm-project/commit/6c6e905d10152ed30d057d7ee22332846785fe47
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2026-06-15 (Mon, 15 Jun 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerExecSync.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
    M llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp

  Log Message:
  -----------
  [NFC][AMDGPU] Generalize some LDS MemoryUtils (#195611)

In preparation for upcoming work, I need some functions used by the LDS
lowering
system to work on any GV. I removed the LDS specific queries inside
these functions
and replaced them with functors passed by the caller, so these utility
functions can be reused.

I also cleaned-up a few things that weren't up to code, such as
lowercase variable names.



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