[all-commits] [llvm/llvm-project] 977f4d: [AMDGPU] Employ MemorySSA when rewriting out argum...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Fri Jul 10 00:55:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 977f4d603ae13c751357352f1256e389a4725e9f
      https://github.com/llvm/llvm-project/commit/977f4d603ae13c751357352f1256e389a4725e9f
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

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

  Log Message:
  -----------
  [AMDGPU] Employ MemorySSA when rewriting out arguments (NFCI) (#207922)

While transitioning away from MemoryDependenceAnalysis, replace MDA
`getPointerDependencyFrom` query with a reverse traversal of the memory
accesses of the return basic block (MemoryDefs and MemoryUses), looking
for the must-aliasing store to the out argument. The existing behaviour
is meant to be preserved.



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