[all-commits] [llvm/llvm-project] a5bba9: [mlir][linalg] BufferizeToAllocationOp: Add option...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jul 21 06:35:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5bba98a58b7406f81629d3942e03b1eff1e2b33
      https://github.com/llvm/llvm-project/commit/a5bba98a58b7406f81629d3942e03b1eff1e2b33
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-21 (Fri, 21 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/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
    M mlir/test/Dialect/Linalg/transform-op-bufferize-to-allocation.mlir

  Log Message:
  -----------
  [mlir][linalg] BufferizeToAllocationOp: Add option to materialize buffers for operands

Add an option that does not bufferize the targeted op itself, but just materializes a buffer for the destination operands. This is useful for partial bufferization of complex ops such as `scf.forall`, which need special handling (and an analysis if the region).

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




More information about the All-commits mailing list