[all-commits] [llvm/llvm-project] ef4f53: [mlir][linalg] BufferizeToAllocationOp: Do not cop...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Jul 4 07:43:53 PDT 2023


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

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Linalg/transform-op-bufferize-to-allocation.mlir

  Log Message:
  -----------
  [mlir][linalg] BufferizeToAllocationOp: Do not copy uninitialized buffers

Tensors/buffers that do not have any defined contents (e.g., `tensor.empty`) are no longer copied.

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




More information about the All-commits mailing list