[mlir] Add ViewLikeOpInterface to std.memref_cast.
authorAlexander Belyaev <pifon@google.com>
Wed, 8 Jul 2020 11:44:36 +0000 (13:44 +0200)
committerAlexander Belyaev <pifon@google.com>
Wed, 8 Jul 2020 12:32:23 +0000 (14:32 +0200)
commit1ea289681acf622ceda783c8fda2f16754b7c933
tree1c45ecdc8418726a1f8bde5d63398ec09f372692
parent2ebf4b6e4c35c93c97da9ed14db7b38757c0d7f9
[mlir] Add ViewLikeOpInterface to std.memref_cast.

Summery:  It's needed for correct work of BufferPlacement.

Differential Revision: https://reviews.llvm.org/D83385
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
mlir/lib/Dialect/StandardOps/IR/Ops.cpp