[all-commits] [llvm/llvm-project] e3f75c: [mlir][linalg] Allow some fusion on mixed generics

Ivan Butygin via All-commits all-commits at lists.llvm.org
Tue Nov 29 06:36:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3f75c1cb78123259b027ce5c82533ff7013c1b3
      https://github.com/llvm/llvm-project/commit/e3f75c1cb78123259b027ce5c82533ff7013c1b3
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/lib/Interfaces/DestinationStyleOpInterface.cpp
    M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir

  Log Message:
  -----------
  [mlir][linalg] Allow some fusion on mixed generics

Relax linalg elementwise fusion check to allow mixed consumers. Producer is still required to be fully tensor to avoid potential memref aliasing.

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




More information about the All-commits mailing list