[mlir][memref] Fix layout map computation in inferRankReducedResultType
authorMatthias Springer <springerm@google.com>
Tue, 21 Jun 2022 08:07:52 +0000 (10:07 +0200)
committerMatthias Springer <springerm@google.com>
Tue, 21 Jun 2022 08:08:26 +0000 (10:08 +0200)
commit858be166708081a3d5927ea5ea187c6b8c3efdaf
treea93c1ee30208d6558b78e68d1f129464f29a44ad
parenta489aa745b621547427602dc4995e1e9ff3fcb57
[mlir][memref] Fix layout map computation in inferRankReducedResultType

Differential Revision: https://reviews.llvm.org/D128160
mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
mlir/unittests/Dialect/CMakeLists.txt
mlir/unittests/Dialect/MemRef/CMakeLists.txt [new file with mode: 0644]
mlir/unittests/Dialect/MemRef/InferShapeTest.cpp [new file with mode: 0644]
utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel