[all-commits] [llvm/llvm-project] 412c2f: [mlir][linalg] Optional dealloc insertion for buff...

Martin Erhart via All-commits all-commits at lists.llvm.org
Thu Sep 7 08:50:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 412c2fd27030f084088e0f395c28e0767df8b212
      https://github.com/llvm/llvm-project/commit/412c2fd27030f084088e0f395c28e0767df8b212
  Author: Martin Erhart <merhart at google.com>
  Date:   2023-09-07 (Thu, 07 Sep 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/matmul-shared-memory-padding.mlir
    M mlir/test/Dialect/Linalg/pad-to-specific-memory-space.mlir
    M mlir/test/Dialect/Linalg/transform-op-bufferize-to-allocation.mlir

  Log Message:
  -----------
  [mlir][linalg] Optional dealloc insertion for bufferize_to_allocation (#65610)

This commit allows to omit insertion of the memref.dealloc operation
when linalg.structured.bufferize_to_allocation is run and makes this the
default behavior. This is desirable when the
buffer-deallocation-pipeline is run after bufferization to handle buffer
deallocation.




More information about the All-commits mailing list