[all-commits] [llvm/llvm-project] 5a10f2: [mlir][transform] Add region to ApplyPatternsOp
Matthias Springer via All-commits
all-commits at lists.llvm.org
Tue Jun 6 00:16:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5a10f207cc3714195281b6db11ec3f0fe9110228
https://github.com/llvm/llvm-project/commit/5a10f207cc3714195281b6db11ec3f0fe9110228
Author: Matthias Springer <me at m-sp.org>
Date: 2023-06-06 (Tue, 06 Jun 2023)
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/TransformDialect.cpp
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/test/Dialect/Transform/ops-invalid.mlir
M mlir/test/Dialect/Transform/test-pattern-application.mlir
M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.td
Log Message:
-----------
[mlir][transform] Add region to ApplyPatternsOp
Patterns should be selected by adding ops that implement `PatternDescriptorOpInterface` to the region of `apply_pattern` ops. Such ops can have operands, allowing for pattern parameterization. The existing way of selecting patterns from the PatternRegistry is deprecated.
Differential Revision: https://reviews.llvm.org/D152167
More information about the All-commits
mailing list