[all-commits] [llvm/llvm-project] 876334: [mlir][bufferization] Update empty_tensor_eliminat...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Oct 8 08:46:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 876334321f842edadcc0cd4241c76b59bb888b9e
      https://github.com/llvm/llvm-project/commit/876334321f842edadcc0cd4241c76b59bb888b9e
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Transforms.h
    M mlir/lib/Dialect/Bufferization/TransformOps/BufferizationTransformOps.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/EmptyTensorElimination.cpp

  Log Message:
  -----------
  [mlir][bufferization] Update empty_tensor_elimination transform op (#68497)

The empty tensor elimination pass semantics have changed recently: when
applied to a module, the One-Shot Module Analysis is run. Otherwise, the
regular One-Shot Analysis is run. The latter one is slightly different
because it ignores function boundaries and treats function block
arguments as "read-only".

This commit updates the transform dialect op to behave in the same way.




More information about the All-commits mailing list