[all-commits] [llvm/llvm-project] 430d43: [mlir][Linalg] Disable fusion of tensor_reshape op...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Fri Jan 22 12:55:48 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 430d43e010bdd07d73c4d0d6536206d22d35a2cb
      https://github.com/llvm/llvm-project/commit/430d43e010bdd07d73c4d0d6536206d22d35a2cb
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Passes.h
    M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
    M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
    M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
    M mlir/test/Dialect/Linalg/reshape_fusion.mlir

  Log Message:
  -----------
  [mlir][Linalg] Disable fusion of tensor_reshape op by expansion when unit-dims are involved

Fusion of generic/indexed_generic operations with tensor_reshape by
expansion when the latter just adds/removes unit-dimensions is
disabled since it just adds unit-trip count loops.

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




More information about the All-commits mailing list