[mlir][Linalg] Add GenericOp self-copy on buffers folding
authorNicolas Vasilache <ntv@google.com>
Wed, 26 Jan 2022 10:19:53 +0000 (05:19 -0500)
committerNicolas Vasilache <ntv@google.com>
Wed, 26 Jan 2022 10:56:31 +0000 (05:56 -0500)
commit9b6c2ea30219c16c264eaa38609e324470e2ad07
tree0b4c9027ebea31bec2be0f3705215388a20e5669
parented4efee2a3d45058aa1a6ffb463485046e981dc6
[mlir][Linalg] Add GenericOp self-copy on buffers folding

Reviewed By: pifon2a

Differential Revision: https://reviews.llvm.org/D118116
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
mlir/test/Dialect/Linalg/canonicalize.mlir
mlir/test/Dialect/Linalg/inlining.mlir