The same transform op can now be used to apply registered pass pipelines.
This revision also adds a helper function for querying PassPipelineInfo objects and moves the corresponding lookup function for PassInfo objects to the PassInfo class.
Paths
| Differential D159211
[mlir][transform] ApplyRegisteredPassOp: Support pass pipelines ClosedPublic Authored by springerm on Aug 30 2023, 8:40 AM.
Details Summary The same transform op can now be used to apply registered pass pipelines. This revision also adds a helper function for querying PassPipelineInfo objects and moves the corresponding lookup function for PassInfo objects to the PassInfo class.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Sep 4 2023, 5:56 AM This revision was landed with ongoing or failed builds.Sep 4 2023, 6:27 AM
Revision Contents
Diff 554739 mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
mlir/include/mlir/Pass/Pass.h
mlir/include/mlir/Pass/PassRegistry.h
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
mlir/lib/Pass/PassRegistry.cpp
mlir/test/Dialect/Transform/test-pass-application.mlir
|
Note: This is same as resolvePipelineElement: first look for a pass pipeline with the given name, if none was found look for a pass.