[all-commits] [llvm/llvm-project] bce318: [mlir][Linalg] NFC: Refactor LinalgDependenceGraph...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Fri Jan 22 11:21:18 PST 2021


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

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Analysis/DependenceAnalysis.h
    M mlir/lib/Dialect/Linalg/Analysis/DependenceAnalysis.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    M mlir/test/Dialect/Linalg/fusion-pattern.mlir

  Log Message:
  -----------
  [mlir][Linalg] NFC: Refactor LinalgDependenceGraphElem to allow
representing dependence from producer result to consumer.

With Linalg on tensors the dependence between operations can be from
the result of the producer to the consumer. This change just does a
NFC refactoring of the LinalgDependenceGraphElem to allow representing
both OpResult and OpOperand*.

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




More information about the All-commits mailing list