[mlir][transform] Add builder to ApplyPatternsOp
authorMatthias Springer <me@m-sp.org>
Wed, 7 Jun 2023 09:52:56 +0000 (11:52 +0200)
committerMatthias Springer <me@m-sp.org>
Wed, 7 Jun 2023 10:06:55 +0000 (12:06 +0200)
commit223a0f63745635c50951960b0ffcf42c77988ed7
tree7d097e798d16a12b19e8bbe6023f310c9eeea76e
parent342acfc9bbc67d81e452b7edc29777bc920f5fd6
[mlir][transform] Add builder to ApplyPatternsOp

Add a builder that takes a callback to construct the body of the op.

Differential Revision: https://reviews.llvm.org/D152352
mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
mlir/lib/Dialect/Transform/IR/TransformOps.cpp