[all-commits] [llvm/llvm-project] d45b42: [MLIR] Define memory effects for `memref.prefetch`...

Alexandre Eichenberger via All-commits all-commits at lists.llvm.org
Wed Oct 8 00:37:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d45b427ed476529a6cc52566c03839ad976ac37f
      https://github.com/llvm/llvm-project/commit/d45b427ed476529a6cc52566c03839ad976ac37f
  Author: Alexandre Eichenberger <alexe at us.ibm.com>
  Date:   2025-10-08 (Wed, 08 Oct 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/misc-other.mlir

  Log Message:
  -----------
  [MLIR] Define memory effects for `memref.prefetch` operation (#151261)

Currently `memref.prefetch` has no memory side effects, which are
necessary for some optimizations.

This PR adds the needed side effect, as recommended in
https://discourse.llvm.org/t/modeling-volatility-with-memory-effects/67946

This PR was created after a discussion on this specific topic here
https://discourse.llvm.org/t/memref-prefetch-op-has-no-memory-side-effects-decoration-in-the-def-td-file/87482

---------

Signed-off-by: Alexandre Eichenberger <alexe at us.ibm.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