[mlir][memref] Add memref.copy operation
authorStephan Herhut <herhut@google.com>
Mon, 21 Jun 2021 17:33:28 +0000 (19:33 +0200)
committerStephan Herhut <herhut@google.com>
Tue, 22 Jun 2021 11:21:44 +0000 (13:21 +0200)
commitbb6afc69b212b756b51b165672bd3531032afa01
tree90de37b05edff32872747e356f27f6fac8b27434
parentd17798823ca2213af353e125f6f5233522dda7ce
[mlir][memref] Add memref.copy operation

As the name suggests, it copies from one memref to another.

Differential Revision: https://reviews.llvm.org/D104657
mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
mlir/test/Dialect/MemRef/invalid.mlir
mlir/test/Dialect/MemRef/ops.mlir