[all-commits] [llvm/llvm-project] b9745a: [mlir][tensor/memref] Disallow Collapse/ExpandShap...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Nov 23 00:31:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9745ad81273a0d866873fdaee2843ca87e15f18
      https://github.com/llvm/llvm-project/commit/b9745ad81273a0d866873fdaee2843ca87e15f18
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

  Changed paths:
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/MemRef/invalid.mlir
    M mlir/test/Dialect/Tensor/invalid.mlir

  Log Message:
  -----------
  [mlir][tensor/memref] Disallow Collapse/ExpandShapeOps that do not reduce/increase the rank

CollapseShapeOp/ExpandShapeOp that do not change the rank (or increase/reduce it) are invalid.

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




More information about the All-commits mailing list