[all-commits] [llvm/llvm-project] d02233: [mlir][Linalg] Add ReduceOp to Linalg structured ops.

Adrian Kuegel via All-commits all-commits at lists.llvm.org
Thu Sep 29 07:23:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d02233f0da17c73f2070b5d59c80547102fa12a3
      https://github.com/llvm/llvm-project/commit/d02233f0da17c73f2070b5d59c80547102fa12a3
  Author: Adrian Kuegel <akuegel at google.com>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
    M mlir/include/mlir/IR/AffineMap.h
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/Dialect/Linalg/roundtrip.mlir

  Log Message:
  -----------
  [mlir][Linalg] Add ReduceOp to Linalg structured ops.

This will allow to model (variadic) reductions with this special op instead of
using GenericOp.

RFC: https://discourse.llvm.org/t/rfc-primitive-ops-add-mapop-reductionop-transposeop-broadcastop-to-linalg/64184




More information about the All-commits mailing list