[all-commits] [llvm/llvm-project] 6a97b5: [MLIR][AMDGPU] Redirect transfer read to masked lo...

Zhuoran Yin via All-commits all-commits at lists.llvm.org
Wed Jul 2 10:25:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a97b56ce5c5b189223da1a6961912d1de40829e
      https://github.com/llvm/llvm-project/commit/6a97b56ce5c5b189223da1a6961912d1de40829e
  Author: Zhuoran Yin <zhuoryin at amd.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/AMDGPU/Transforms/Passes.h
    M mlir/include/mlir/Dialect/AMDGPU/Transforms/Passes.td
    M mlir/lib/Dialect/AMDGPU/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/AMDGPU/Transforms/MaskedloadToLoad.cpp
    R mlir/lib/Dialect/AMDGPU/Transforms/TransferReadToLoad.cpp
    A mlir/test/Dialect/AMDGPU/maskedload-to-load.mlir
    R mlir/test/Dialect/AMDGPU/transfer-read-to-load.mlir

  Log Message:
  -----------
  [MLIR][AMDGPU] Redirect transfer read to masked load lowering (#146705)

This PR reworks https://github.com/llvm/llvm-project/pull/131803.
Instead of applying the optimization on transfer_read op, which is too
high level, it redirect the pre-existing pattern onto maskedload op.
This simplified the implementation of the lowering pattern. This also
allows moving the usage of the pass to a target dependent pipeline.

Signed-off-by: jerryyin <zhuoryin at amd.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