[all-commits] [llvm/llvm-project] eda6b2: [MLIR][Linalg] Allow fusion of more than 2 linalg ...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Mon Feb 3 12:01:10 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eda6b2e2b3f88e1e08328a229c2fc0f97b472ca4
      https://github.com/llvm/llvm-project/commit/eda6b2e2b3f88e1e08328a229c2fc0f97b472ca4
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
    M mlir/test/Dialect/Linalg/fusion.mlir

  Log Message:
  -----------
  [MLIR][Linalg] Allow fusion of more than 2 linalg ops.

LinalgDependenceGraph was not updated after successful producer-consumer
fusion for linalg ops. In this patch it is fixed by reconstructing
LinalgDependenceGraph on every iteration. This is very ineffective and
should be improved by updating LDGraph only when it is necessary.




More information about the All-commits mailing list