Add a pattern to combine composed subview ops
authorAden Grue <agrue@google.com>
Thu, 1 Apr 2021 17:55:50 +0000 (10:55 -0700)
committerMaheshRavishankar <ravishankarm@google.com>
Thu, 1 Apr 2021 17:56:57 +0000 (10:56 -0700)
commit3ba1b1cd201dbf2d5f9da4d3a018091c3e3a2d78
tree97a073f6645fb8b6396204f93ae4dd068f02d3a4
parent8f7c1b22721da9f38e2129248d27df280861fdb1
Add a pattern to combine composed subview ops

Differential Revision: https://reviews.llvm.org/D99229
mlir/include/mlir/Dialect/StandardOps/Transforms/ComposeSubView.h [new file with mode: 0644]
mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
mlir/lib/Dialect/StandardOps/Transforms/ComposeSubView.cpp [new file with mode: 0644]
mlir/test/Transforms/compose-subview.mlir [new file with mode: 0644]
mlir/test/lib/Transforms/CMakeLists.txt
mlir/test/lib/Transforms/TestComposeSubView.cpp [new file with mode: 0644]
mlir/tools/mlir-opt/mlir-opt.cpp