[all-commits] [llvm/llvm-project] 247a9b: [mlir][AMDGPU] Add folders for memref aliases to T...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Wed Mar 4 07:27:03 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 247a9bfc26ad1f062c52f7b4625ec0e0710a6424
      https://github.com/llvm/llvm-project/commit/247a9bfc26ad1f062c52f7b4625ec0e0710a6424
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M mlir/lib/Dialect/AMDGPU/Transforms/FoldMemRefsOps.cpp
    M mlir/test/Dialect/AMDGPU/amdgpu-fold-memrefs.mlir

  Log Message:
  -----------
  [mlir][AMDGPU] Add folders for memref aliases to TDM base creation (#184567)

The TDM base creation (amdgpu.make_tdm_base and
amdgpu.make_gather_tdm_base) take references to a
`%memref[%i0, %i1,, ...]` for the starting point of the tiles in
global/shared memory that the TDM descriptor refers to. Memory alias ops
can be safely folded into these operations, since these two memref
operands are just pointers to a scalar starting pint and don't have
semantics that depend on the memref layout (except to the extent that it
defines a location in memory).

While I'm here, I've cleaned up a few things, like the incorrect file
header and fixed the tests to not use integer address spaces.

Co-authored-by: Claude Opus 4.6 <noreply at anthropic.com>



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