[all-commits] [llvm/llvm-project] 30d542: [MLIR][Tensor] Introduce a pattern to propagate th...

lorenzo chelini via All-commits all-commits at lists.llvm.org
Tue Feb 14 23:49:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30d542f9b2adf10ee2cb7e07877ad7f0cfdbfea2
      https://github.com/llvm/llvm-project/commit/30d542f9b2adf10ee2cb7e07877ad7f0cfdbfea2
  Author: Lorenzo Chelini <l.chelini at icloud.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
    M mlir/test/Dialect/Linalg/data-layout-propagation.mlir

  Log Message:
  -----------
  [MLIR][Tensor] Introduce a pattern to propagate through `tensor.pad`

Introduce a pattern to 'push down' a `tensor.unpack` through a
`tensor.pad`. The propagation happens if the unpack does not touch the
padded dimensions.

Reviewed By: hanchung

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




More information about the All-commits mailing list