[all-commits] [llvm/llvm-project] b686fd: [mlir][Linalg] Drop output tensor from `linalg.pad...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Tue Aug 31 11:12:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b686fdbf92ea5b495804afdf1c7c4d4aab30ef33
      https://github.com/llvm/llvm-project/commit/b686fdbf92ea5b495804afdf1c7c4d4aab30ef33
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/Dialect/Linalg/roundtrip.mlir
    M mlir/test/Dialect/Linalg/tile-pad-tensor-op.mlir

  Log Message:
  -----------
  [mlir][Linalg] Drop output tensor from `linalg.pad_tensor` op.

The output tensor was added for tiling purposes. With use of
`TilingInterface` for tiling pad operations, there is no need for an
explicit operand for the shape of result of `linalg.pad_tensor`
op. The interface allows the tiling pattern to query the value that
can be used for the "init" needed for tiling dynamically.

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




More information about the All-commits mailing list