[mlir][ODS] Small fixes for ODS classes
authorVladislav Vinogradov <vlad.vinogradov@intel.com>
Thu, 4 Feb 2021 17:05:20 +0000 (17:05 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Thu, 4 Feb 2021 17:05:30 +0000 (17:05 +0000)
commit07fc852897134cfa29a1baf9e10247e9456df462
treefdf5e1759ac4cceda794b5d4db79d4e49a9c9ec7
parentd84e5fdac1a65732556b9e56984c998aad915139
[mlir][ODS] Small fixes for ODS classes

* Introduce separate `RankedTensorOf` class. Use it as base class for `AnyRankedTensor`.
* Add C++ class specification (`::mlir::MemRefType`) to `MemRefRankOf` and `StaticShapeMemRefOf`.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D95936
mlir/include/mlir/IR/OpBase.td