[all-commits] [llvm/llvm-project] 80625c: [MLIR][Affine] Fix memref replacement in affine-da...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Fri Jun 27 21:57:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80625c16f0675235425fbb3810b5cd0e669c8c04
      https://github.com/llvm/llvm-project/commit/80625c16f0675235425fbb3810b5cd0e669c8c04
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2025-06-28 (Sat, 28 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/Utils.h
    M mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp
    M mlir/lib/Dialect/Affine/Transforms/PipelineDataTransfer.cpp
    M mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
    M mlir/lib/Dialect/Affine/Utils/Utils.cpp
    M mlir/lib/Dialect/MemRef/Transforms/NormalizeMemRefs.cpp
    M mlir/test/Dialect/Affine/affine-data-copy.mlir

  Log Message:
  -----------
  [MLIR][Affine] Fix memref replacement in affine-data-copy-generate (#139016)

Fixes: https://github.com/llvm/llvm-project/issues/130257

Fix affine-data-copy-generate in certain cases that involved users in
multiple blocks. Perform the memref replacement correctly during copy
generation.

Improve/clean up memref affine use replacement API. Instead of
supporting dominance and post dominance filters (which aren't adequate
in most cases) and computing dominance info expensively each time in
RAMUW, provide a user filter callback, i.e., force users to compute
dominance if needed.



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