[mlir][linalg] Add padding helper functions to PadTensorOp
authorMatthias Springer <springerm@google.com>
Mon, 7 Jun 2021 11:13:08 +0000 (20:13 +0900)
committerMatthias Springer <springerm@google.com>
Mon, 7 Jun 2021 11:18:06 +0000 (20:18 +0900)
commitfe0befb123e4a727c3c883845c9d3bfe75d831c7
treea72b5ddc6ba6bfe11470fb41ac687f488a93b347
parent8344e215ec6caac4b3372d6e96333b35ab1d8741
[mlir][linalg] Add padding helper functions to PadTensorOp

Add helper functions to quickly check for zero low/high padding.

Differential Revision: https://reviews.llvm.org/D103781
mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td