[all-commits] [llvm/llvm-project] 9fe27b: [mlir][Linalg] Allow decompose to handle ops when ...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Thu Jul 28 09:47:40 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fe27bca7191308f9d1c4045b81554fb53da3271
      https://github.com/llvm/llvm-project/commit/9fe27bca7191308f9d1c4045b81554fb53da3271
  Author: Mahesh Ravishankar <ravishankarm at google.com>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/DecomposeLinalgOps.cpp
    M mlir/test/Dialect/Linalg/decompose-ops.mlir

  Log Message:
  -----------
  [mlir][Linalg] Allow decompose to handle ops when value of `outs` operand is used in payload.

Current implementation of decomposition of Linalg operations wouldnt
work if the `outs` operand values were used within the body of the
operation. Relax this restriction. This potentially sets the stage for
decomposing ops with reduction iterator types (but is not done here
since it requires more study).

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




More information about the All-commits mailing list