Make linalg::ReshapeOp implement ViewLikeOpInterface
authorStephan Herhut <herhut@google.com>
Tue, 14 Jul 2020 14:23:19 +0000 (16:23 +0200)
committerStephan Herhut <herhut@google.com>
Wed, 15 Jul 2020 07:24:15 +0000 (09:24 +0200)
commit1919c8bfe8379402401da52d84d5397233cab8b9
tree9182c0a683afc1877817163f8f77a7a6a1976198
parentc86c1e972da07ac3417c98e04382a295d4284755
Make linalg::ReshapeOp implement ViewLikeOpInterface

Summary: A reshape aliases its input memref, so it acts like a view.

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