[mlir][TilingInterface] Enabling tiling `tensor.pad` using `TilingInterface`.
authorMahesh Ravishankar <ravishankarm@google.com>
Fri, 26 Aug 2022 16:29:02 +0000 (16:29 +0000)
committerMahesh Ravishankar <ravishankarm@google.com>
Fri, 26 Aug 2022 16:29:32 +0000 (16:29 +0000)
commita235562c0a051d0786cdb7da8e2af93e56e849c3
treec402f9c920df4e7c0f3ce7532b7855f31da98909
parente117137af0a37ac309d40db57ec7162ef3d22c29
[mlir][TilingInterface] Enabling tiling `tensor.pad` using `TilingInterface`.

Update the implementation of `TilingInterface` for `tensor.pad`
operations to allow tiling the op using the existing patterns for the
interface. Verify that tests that pass with existing pad tiling
patterns producer the same results through TilingInterface patterns.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D132720
mlir/include/mlir/Dialect/Tensor/IR/TensorTilingInterfaceImpl.h
mlir/include/mlir/InitAllDialects.h
mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp
mlir/test/Interfaces/TilingInterface/tile-pad-using-interface.mlir [new file with mode: 0644]
mlir/test/lib/Interfaces/TilingInterface/CMakeLists.txt
mlir/test/lib/Interfaces/TilingInterface/TestTilingInterface.cpp