[all-commits] [llvm/llvm-project] 4882ca: [mlir][linalg] Adapt FillOp to use a scalar operand.

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Jun 21 23:45:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4882cacf129b31129a3d7ffdc0c2ed8d0fb67673
      https://github.com/llvm/llvm-project/commit/4882cacf129b31129a3d7ffdc0c2ed8d0fb67673
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
    M mlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/python/mlir/dialects/_linalg_ops_ext.py
    M mlir/test/Dialect/Linalg/fusion-tensor-pattern.mlir
    M mlir/test/Dialect/Linalg/generalize-named-ops.mlir
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/lib/Dialect/Linalg/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir][linalg] Adapt FillOp to use a scalar operand.

Adapt the FillOp definition to use a scalar operand instead of a capture. This patch is a follow up to https://reviews.llvm.org/D104109. As the input operands are in front of the output operands the patch changes the internal operand order of the FillOp. The pretty printed version of the operation remains unchanged though. The patch also adapts the linalg to standard lowering to ensure the c signature of the FillOp remains unchanged as well.

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




More information about the All-commits mailing list