[all-commits] [llvm/llvm-project] 2bd7ee: [mlir][memref] Fix ExpandShapeOp verifier

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Mar 31 01:08:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bd7ee45666f1093bafe1a37e1c9ade8aa78ddd2
      https://github.com/llvm/llvm-project/commit/2bd7ee45666f1093bafe1a37e1c9ade8aa78ddd2
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/MemRef/invalid.mlir
    M mlir/test/Dialect/MemRef/ops.mlir

  Log Message:
  -----------
  [mlir][memref] Fix ExpandShapeOp verifier

* Complete rewrite of the verifier.
* CollapseShapeOp verifier will be updated in a subsequent commit.
* Update and expand op documentation.
* Add a new builder that infers the result type based on the source type, result shape and reassociation indices. In essence, only the result layout map is inferred.

Differential Revision: https://reviews.llvm.org/D122641




More information about the All-commits mailing list