[all-commits] [llvm/llvm-project] 99cb3f: [mlir] Add memref normalization support for reinte...

Arnab Dutta via All-commits all-commits at lists.llvm.org
Wed Apr 30 01:43:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99cb3f7ac6281e2fda0aee4c941a825fa3c4fccf
      https://github.com/llvm/llvm-project/commit/99cb3f7ac6281e2fda0aee4c941a825fa3c4fccf
  Author: Arnab Dutta <85476402+arnab-polymage at users.noreply.github.com>
  Date:   2025-04-30 (Wed, 30 Apr 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/Utils.h
    M mlir/lib/Dialect/Affine/Utils/Utils.cpp
    M mlir/lib/Dialect/MemRef/Transforms/NormalizeMemRefs.cpp
    M mlir/test/Dialect/MemRef/normalize-memrefs-ops.mlir
    M mlir/test/Dialect/MemRef/normalize-memrefs.mlir

  Log Message:
  -----------
  [mlir] Add memref normalization support for reinterpret_cast op (#133417)

Rewrites memrefs defined by reinterpet_cast ops to have an identity
layout map and updates all their indexing uses. Also, extend
`replaceAllMemRefUsesWith` utility to work when there are multiple 
occurrences of `oldMemRef` in `op`'s operand list when op is 
non-dereferencing.

Fixes #122090 
Fixes #121091



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