[all-commits] [llvm/llvm-project] 518e6f: [mlir][Linalg] Fix fusion on tensors operands / bb...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Tue Apr 6 08:42:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 518e6f341dddab7824592b3769146318950a01be
      https://github.com/llvm/llvm-project/commit/518e6f341dddab7824592b3769146318950a01be
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
    M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
    M mlir/test/Dialect/Linalg/fusion-tensor.mlir

  Log Message:
  -----------
  [mlir][Linalg] Fix fusion on tensors operands / bbArg mismatch

Linalg fusion on tensors has mismatching assumptions on the operand side than on the region bbArg side.
Relax the behavior on the operand/indexing map side so that we better support output operands that may also be read from.

Differential revision: https://reviews.llvm.org/D99499




More information about the All-commits mailing list