[all-commits] [llvm/llvm-project] 91563c: [mlir] Modify LinalgStructuredInterface to allow t...

Oleg Shyshkov via All-commits all-commits at lists.llvm.org
Thu Sep 22 11:47:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91563c419e57e3e22de96122247ea27540b14659
      https://github.com/llvm/llvm-project/commit/91563c419e57e3e22de96122247ea27540b14659
  Author: Oleg Shyshkov <shyshkov at google.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

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

  Log Message:
  -----------
  [mlir] Modify LinalgStructuredInterface to allow the computation block to have arguments only for a subset of operands.

Summary:
Currently there is an expectations that there is a corresponsing block argument
for each operand. For some operation, it leads to unused arguments. For example,
in `map`, only input operands are used for the computation.

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




More information about the All-commits mailing list