[all-commits] [llvm/llvm-project] 6badbd: [mlir][linalg] BufferizeToAllocation: Bufferize no...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Jul 4 05:47:12 PDT 2023


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

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
    M mlir/test/Dialect/Linalg/transform-op-bufferize-to-allocation.mlir

  Log Message:
  -----------
  [mlir][linalg] BufferizeToAllocation: Bufferize non-allocating ops

Until now, only `tensor.pad` ops could be bufferized to an allocation. This revision adds support for all bufferizable ops that do not already bufferize to an allocation. (Those still need special handling.)

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




More information about the All-commits mailing list