[mlir][Linalg] NFC: Refactor fusion of LinalgOp with TensorReshapeOp by expansion.
authorMaheshRavishankar <ravishankarm@google.com>
Fri, 8 Jan 2021 19:56:48 +0000 (11:56 -0800)
committerMaheshRavishankar <ravishankarm@google.com>
Fri, 8 Jan 2021 19:58:19 +0000 (11:58 -0800)
commitfa8c397dfa2ac2490236110a597d6aa764f41da4
treed1974ec7ac9b77332382a9aa30d7991e70d13443
parenta8bda3df42565298e28a0424785a8522c41dcf78
[mlir][Linalg] NFC: Refactor fusion of LinalgOp with TensorReshapeOp by expansion.

Change the implementation of LinalgOp with TensorReshapeOp by
expansion to be more modular and easier to follow.

Differential Revision: https://reviews.llvm.org/D93748
mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp