[all-commits] [llvm/llvm-project] eec9d0: [mlir][Linalg] use linalg.reduce to simplify the m...

zhicong zhong via All-commits all-commits at lists.llvm.org
Thu Jun 27 17:50:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eec9d0b6816e815fbe009941c1fda3b39c38adeb
      https://github.com/llvm/llvm-project/commit/eec9d0b6816e815fbe009941c1fda3b39c38adeb
  Author: zhicong zhong <zhiczhong at outlook.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
    M mlir/test/Dialect/Linalg/transform-tile-reduction.mlir

  Log Message:
  -----------
  [mlir][Linalg] use linalg.reduce to simplify the mergeReductions in partialReductionInterface  (#94579)

The current implementation of `mergeReduction` in
`LinalgOpPartialReductionInterface` builds a `linalg.generic` from
scratch. While we already have `linalg.reduce` op which has the same
semantic as this generic op, this PR replaces the generic op with
`linalg.reduce` to simplify the implementation.



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