[all-commits] [llvm/llvm-project] 78f37b: [mlir][Linalg] Miscalleneous enhancements to cover...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Mon Oct 26 16:17:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 78f37b74da60ccdca200e457df195d58d76b3b8f
      https://github.com/llvm/llvm-project/commit/78f37b74da60ccdca200e457df195d58d76b3b8f
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-10-26 (Mon, 26 Oct 2020)

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

  Log Message:
  -----------
  [mlir][Linalg] Miscalleneous enhancements to cover more fusion cases.

Adds support for
- Dropping unit dimension loops for indexed_generic ops.
- Folding consecutive folding (or expanding) reshapes when the result
  (or src) is a scalar.
- Fixes to indexed_generic -> generic fusion when zero-dim tensors are
  involved.

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




More information about the All-commits mailing list