This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add a parsePassPipeline overload that returns a new pass manager
ClosedPublic

Authored by rriddle on Jan 3 2022, 12:08 AM.

Details

Summary

This overload parses a pipeline string that contains the anchor operation type, and returns an OpPassManager
corresponding to the provided pipeline. This is useful for various situations, such as dynamic pass pipelines
which are not anchored within a parent pass pipeline.

fixes #52813

Diff Detail

Event Timeline

rriddle created this revision.Jan 3 2022, 12:08 AM
rriddle requested review of this revision.Jan 3 2022, 12:08 AM

Note; Still need to add test for error message

mehdi_amini accepted this revision.Jan 3 2022, 8:06 PM
This revision is now accepted and ready to land.Jan 3 2022, 8:06 PM

Nice, OOC would referencing the github issue in message result in updating issue?

(test end-to-end with reproducer would be really nice to verify that flow)

Nice, OOC would referencing the github issue in message result in updating issue?

Yes, it'll even recognized many keywords that closes the issue: ://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword

rriddle updated this revision to Diff 397370.Jan 4 2022, 12:20 PM
rriddle edited the summary of this revision. (Show Details)
rriddle edited the summary of this revision. (Show Details)Jan 4 2022, 12:21 PM