[all-commits] [llvm/llvm-project] aebde2: [mlir][linalg] Add nicer builders for `map` and `r...

Oleg Shyshkov via All-commits all-commits at lists.llvm.org
Thu Oct 27 23:51:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aebde280476943e58f5bcd9993fdd7e36cdbe47e
      https://github.com/llvm/llvm-project/commit/aebde280476943e58f5bcd9993fdd7e36cdbe47e
  Author: Oleg Shyshkov <shyshkov at google.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

  Log Message:
  -----------
  [mlir][linalg] Add nicer builders for `map` and `reduce`.

The new builders get a list of additional attrs, a lambda to build the region
body and infer return types from `init`.

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




More information about the All-commits mailing list