[mlir][linalg] Retire PoolingMaxOp/PoolingMinOp/PoolingSumOp.
authorTobias Gysi <gysit@google.com>
Fri, 1 Oct 2021 13:29:35 +0000 (13:29 +0000)
committerTobias Gysi <gysit@google.com>
Fri, 1 Oct 2021 13:51:56 +0000 (13:51 +0000)
commitbf2884974584c65481439b4e44527d0fb7dddb79
tree5e5df411e5c549e958d383673122bd3edc5bd4c5
parent633ac5170996da6a80a2236bed99913b66ed1d27
[mlir][linalg] Retire PoolingMaxOp/PoolingMinOp/PoolingSumOp.

The pooling ops are among the last remaining hard coded Linalg operations that have no region attached. They got obsolete due to the OpDSL pooling operations. Removing them allows us to delete specialized code and tests that are not needed for the OpDSL counterparts that rely on the standard code paths.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D110909
mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
mlir/test/Dialect/Linalg/affine.mlir
mlir/test/Dialect/Linalg/invalid.mlir
mlir/test/Dialect/Linalg/loops.mlir
mlir/test/Dialect/Linalg/roundtrip.mlir