[all-commits] [llvm/llvm-project] 8f6e84: [mlir][Linalg] Enable fusion of std.constant (prod...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Mon Jul 27 09:51:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f6e84ba7b590bb6fdcd6b2b3ba32782b7802bd3
      https://github.com/llvm/llvm-project/commit/8f6e84ba7b590bb6fdcd6b2b3ba32782b7802bd3
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-07-27 (Mon, 27 Jul 2020)

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

  Log Message:
  -----------
  [mlir][Linalg] Enable fusion of std.constant (producer) with
linalg.indexed_generic (consumer) with tensor arguments.

The implementation of fusing std.constant producer with a
linalg.indexed_generic consumer was already in place. It is exposed
with this change. Also cleaning up some of the patterns that implement
the fusion to not be templated, thereby avoiding lot of conditional
checks for calling the right instantiation.

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




More information about the All-commits mailing list