[all-commits] [llvm/llvm-project] 3f18f6: [mlir][linalg] Enable fusion by expansion of reduc...

Quinn Dawkins via All-commits all-commits at lists.llvm.org
Sat Mar 2 22:54:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f18f6a2cfecb080f006477c46d3626102841a17
      https://github.com/llvm/llvm-project/commit/3f18f6a2cfecb080f006477c46d3626102841a17
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/test/Dialect/Linalg/reshape_fusion.mlir

  Log Message:
  -----------
  [mlir][linalg] Enable fusion by expansion of reduction and named ops (#83473)

This adds support for expansion of named linalg ops and linalg ops with
reduction iterators. This improves the ability to make fusion decisions
WRT reduction operations. To recover the previous behavior, users of the
patterns can add a control function to restrict propagation of reshape
by expansion through linalg ops with reduction iterators.

For named linalg ops, this always converts the named op into a generic.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list