[all-commits] [llvm/llvm-project] 0575ab: [mlir][tensor][transform][python] Add mix-in class.

Ingo Müller via All-commits all-commits at lists.llvm.org
Thu Aug 3 08:45:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0575ab2d46d9b238feb4d237a2a7555a026fab35
      https://github.com/llvm/llvm-project/commit/0575ab2d46d9b238feb4d237a2a7555a026fab35
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M mlir/python/CMakeLists.txt
    A mlir/python/mlir/dialects/_tensor_transform_ops_ext.py
    A mlir/test/python/dialects/transform_tensor_ext.py
    M utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel

  Log Message:
  -----------
  [mlir][tensor][transform][python] Add mix-in class.

This patch adds a mix-in class for the only transform op of the tensor
dialect that can benefit from one: the MakeLoopIndependentOp. It adds an
overload that makes providing the return type optional.

Reviewed By: ftynse

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




More information about the All-commits mailing list