[mlir][Linalg] Add couple of convenience methods to `LinalgInterface`.
authorMaheshRavishankar <ravishankarm@google.com>
Tue, 25 Jan 2022 19:44:54 +0000 (11:44 -0800)
committerMaheshRavishankar <ravishankarm@google.com>
Tue, 25 Jan 2022 19:46:11 +0000 (11:46 -0800)
commitf3ab0ccd00db3bb26851d3e1cf4a789fe7fa6e2c
tree9c1270c7f58a195459e764ac226647e7d58005f5
parent0944c196c58f62299540983e2d10cd7bef60691a
[mlir][Linalg] Add couple of convenience methods to `LinalgInterface`.

Add methods to
- Get block argument that is tied with an opOperand
- Get the yield value that is tied with a output opOperand.

Differential Revision: https://reviews.llvm.org/D118085
mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td