[mlir][memref] Fix CollapseShapeOp verifier
authorMatthias Springer <springerm@google.com>
Thu, 31 Mar 2022 08:04:15 +0000 (17:04 +0900)
committerMatthias Springer <springerm@google.com>
Thu, 31 Mar 2022 08:08:16 +0000 (17:08 +0900)
commit86d118e7f2133c6ee7d0a1ab5379e01686ef7a99
treef948f79b822445e227c50e6846be368f6e90787a
parent2bd7ee45666f1093bafe1a37e1c9ade8aa78ddd2
[mlir][memref] Fix CollapseShapeOp verifier

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