[all-commits] [llvm/llvm-project] ba745e: [mlir][bufferization] Remove cleanup pipeline from...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jul 21 03:18:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba745eea40a269d117b0fe1bdf3e3e2e6e77e9b1
      https://github.com/llvm/llvm-project/commit/ba745eea40a269d117b0fe1bdf3e3e2e6e77e9b1
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M mlir/lib/Dialect/Arith/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-empty-tensor-elimination.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-partial.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize.mlir
    M mlir/test/Dialect/Linalg/one-shot-bufferize.mlir
    M mlir/test/Dialect/SCF/one-shot-bufferize.mlir
    M mlir/test/Dialect/Tensor/one-shot-bufferize.mlir

  Log Message:
  -----------
  [mlir][bufferization] Remove cleanup pipeline from bufferization pass

To keep the pass simple, users should apply cleanup passes manually when necessary. In particular, `-cse -canonicalize` are often desireable to fold away self-copies that are created by the bufferization.

This addresses a comment in D120191.

Differential Revision: https://reviews.llvm.org/D155923




More information about the All-commits mailing list