[MLIR] Make the implementations for getMixedOffsets/Sizes/Strides independent of...
authorFrederik Gossen <frgossen@google.com>
Wed, 3 Aug 2022 22:23:55 +0000 (18:23 -0400)
committerFrederik Gossen <frgossen@google.com>
Thu, 4 Aug 2022 15:58:15 +0000 (11:58 -0400)
commitf98d73f4e03725c0abd7d59297706cd8901bbb60
tree30f3d8693eb90ca75a460754c44a447b923430fb
parent1915c1c01e6c84a1fda5a313f85e2a3dbccd7ce0
[MLIR] Make the implementations for getMixedOffsets/Sizes/Strides independent of OffsetSizeAndStrideOpInterface

The functions are effectively independent of the interface already, however, they take it as an argument for no reason.
The current state complicates reuse outside of MLIR.

Differential Revision: https://reviews.llvm.org/D131120
mlir/include/mlir/Interfaces/ViewLikeInterface.h
mlir/include/mlir/Interfaces/ViewLikeInterface.td
mlir/lib/Interfaces/ViewLikeInterface.cpp