[all-commits] [llvm/llvm-project] bbf443: [mlir][linalg] Remove the StructuredOp capture mec...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Jun 28 00:59:17 PDT 2021


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

  Changed paths:
    M mlir/include/mlir-c/Dialect/Linalg.h
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
    M mlir/lib/Bindings/Python/DialectLinalg.cpp
    M mlir/lib/CAPI/Dialect/Linalg.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Generalization.cpp
    M mlir/python/mlir/dialects/_linalg_ops_ext.py
    M mlir/test/mlir-linalg-ods-gen/test-linalg-ods-gen.tc
    M mlir/test/mlir-linalg-ods-gen/test-linalg-ods-yaml-gen.yaml
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp

  Log Message:
  -----------
  [mlir][linalg] Remove the StructuredOp capture mechanism.

After https://reviews.llvm.org/D104109, structured ops support scalar inputs. As a result, the capture mechanism meant to pass non-shaped parameters got redundant. The patch removes the capture semantics after the FillOp migrated to use scalar operands https://reviews.llvm.org/D104121.

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




More information about the All-commits mailing list