[all-commits] [llvm/llvm-project] bb566b: [mlir][linalg] Do not emit FillOp for tensor.pad w...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Jul 4 23:45:17 PDT 2023


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

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
    M mlir/test/Dialect/Linalg/pad-to-specific-memory-space.mlir

  Log Message:
  -----------
  [mlir][linalg] Do not emit FillOp for tensor.pad with zero padding

No need to fill the buffer if no padding is added. I.e., the tensor.pad is packing only.

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




More information about the All-commits mailing list