[all-commits] [llvm/llvm-project] 4299be: [mlir] optionally allow repeated handles in transf...

ftynse via All-commits all-commits at lists.llvm.org
Mon Dec 19 01:02:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4299be1a087edc434fd0111a3316931d7ebc0638
      https://github.com/llvm/llvm-project/commit/4299be1a087edc434fd0111a3316931d7ebc0638
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.td
    M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
    M mlir/test/Dialect/Transform/expensive-checks.mlir

  Log Message:
  -----------
  [mlir] optionally allow repeated handles in transform dialect

Some operations may be able to deal with handles pointing to the same
operation when the handle is consumed. For example, merge handles with
deduplication doesn't actually destroy payload operations and is
specifically intended to remove the situation with duplicates. Add a
method to the transform interface to allow ops to declare they can
support repeated handles.

Reviewed By: springerm

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




More information about the All-commits mailing list