[all-commits] [llvm/llvm-project] abbbe4: [mlir][vector] Fix attaching write effects on tran...

Simone Pellegrini via All-commits all-commits at lists.llvm.org
Wed Jun 11 04:37:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abbbe4a6cd1b83b89a834163335053863f5ffbfa
      https://github.com/llvm/llvm-project/commit/abbbe4a6cd1b83b89a834163335053863f5ffbfa
  Author: Simone Pellegrini <simone.pellegrini at arm.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M flang/test/HLFIR/assign-side-effects.fir
    M flang/test/HLFIR/memory-effects.fir
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Bufferization/side-effects.mlir
    A mlir/test/Dialect/Vector/side-effects.mlir
    M mlir/test/IR/test-side-effects.mlir
    M mlir/test/lib/IR/TestSideEffects.cpp

  Log Message:
  -----------
  [mlir][vector] Fix attaching write effects on transfer_write's base (#142940)

This fixes an issue with `TransferWriteOp`'s implementation of the
`MemoryEffectOpInterface` where the write effect was attached to the
stored value rather than the base.

This had the effect that when asking for the memory effects for the
input memref buffer using `getEffectsOnValue(...)`, the function would
return no-effects (as the effect would have been attached to the stored
value rather than the input buffer).



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