[all-commits] [llvm/llvm-project] d06dd2: [mlir][Linalg] Implement fusion of linalg.generic ...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Fri Feb 7 10:37:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d06dd29e09b6b03a834ec0639d57446fb8515d12
      https://github.com/llvm/llvm-project/commit/d06dd29e09b6b03a834ec0639d57446fb8515d12
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
    A mlir/test/Dialect/Linalg/fusion-tensor.mlir

  Log Message:
  -----------
  [mlir][Linalg] Implement fusion of linalg.generic operation on tensors.

The initial implementation of the fusion operation exposes a method to
fuse a consumer with its producer, when
- both the producer and consumer operate on tensors
- the producer has only a single result value
- the producer has only "parallel" iterator types
A new interface method hasTensorSemantics is added to verify that an
operation has all operands and results of type RankedTensorType.

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




More information about the All-commits mailing list