[mlir][linalg] Remove duplicate tensor.pad lowering pattern
authorMatthias Springer <me@m-sp.org>
Thu, 22 Jun 2023 09:30:57 +0000 (11:30 +0200)
committerMatthias Springer <me@m-sp.org>
Thu, 22 Jun 2023 09:35:27 +0000 (11:35 +0200)
commit498f5ae94d3b32724f6f10fb2b47616c2e04540e
treeb8199b435ce8683370e639a9cc34603c8dad6e30
parent3889c8214d1b4fcaa54f18b0944faa026f97b8ba
[mlir][linalg] Remove duplicate tensor.pad lowering pattern

There is another transform that lowers tensor.pad to tensor.empty + linalg.fill + tensor.insert_slice: `transform.structured.rewrite_in_destination_passing_style`. Delete the other transform.

Differential Revision: https://reviews.llvm.org/D153429
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
mlir/test/Dialect/Linalg/lower-pad-tensor.mlir [deleted file]
mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp