This is an archive of the discontinued LLVM Phabricator instance.

[mlir][python] Allow adding to existing pass manager
ClosedPublic

Authored by rkayaith on Nov 3 2022, 10:44 AM.

Details

Summary

This adds a PassManager.add method which adds pipeline elements to the
pass manager. This allows for progressively building up a pipeline from
python without string manipulation.

Diff Detail

Event Timeline

rkayaith created this revision.Nov 3 2022, 10:44 AM
rkayaith requested review of this revision.Nov 3 2022, 10:44 AM
mehdi_amini accepted this revision.Nov 3 2022, 12:08 PM
This revision is now accepted and ready to land.Nov 3 2022, 12:08 PM
This revision was automatically updated to reflect the committed changes.