This is an archive of the discontinued LLVM Phabricator instance.

[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

springerm created this revision.Aug 30 2023, 8:40 AM
Herald added a project: Restricted Project. · View Herald Transcript
springerm requested review of this revision.Aug 30 2023, 8:40 AM
springerm added inline comments.Aug 30 2023, 8:42 AM
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
722–724

Note: This is same as resolvePipelineElement: first look for a pass pipeline with the given name, if none was found look for a pass.

ftynse accepted this revision.Sep 4 2023, 5:56 AM
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