[all-commits] [llvm/llvm-project] b62f9f: [mlir][Linalg] Add pattern to fold linalg.tensor_r...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Wed Sep 23 00:02:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b62f9f4407a5ed6e5722e177e906efcebebce9eb
      https://github.com/llvm/llvm-project/commit/b62f9f4407a5ed6e5722e177e906efcebebce9eb
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
    M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir

  Log Message:
  -----------
  [mlir][Linalg] Add pattern to fold linalg.tensor_reshape that add unit extent dims.

A sequence of two reshapes such that one of them is just adding unit
extent dims can be folded to a single reshape.

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




More information about the All-commits mailing list