[all-commits] [llvm/llvm-project] fdb21f: [mlir][linalg] Remove generic PadTensorOp vectoriz...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Jun 13 18:54:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdb21f0c5edd17b9aeb6f5135d0980b9e4c74bf2
      https://github.com/llvm/llvm-project/commit/fdb21f0c5edd17b9aeb6f5135d0980b9e4c74bf2
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-06-14 (Mon, 14 Jun 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir
    M mlir/test/Dialect/Linalg/vectorization.mlir

  Log Message:
  -----------
  [mlir][linalg] Remove generic PadTensorOp vectorization pattern

The generic vectorization pattern handles only those cases, where
low and high padding is zero. This is already handled by a
canonicalization pattern.

Also add a new canonicalization test case to ensure that tensor cast ops
are properly inserted.

A more general vectorization pattern will be added in a subsequent commit.

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




More information about the All-commits mailing list