This is an archive of the discontinued LLVM Phabricator instance.

Remove the `run` method from `OpPassManager` and `Pass` and migrate it to `OpToOpPassAdaptor`
ClosedPublic

Authored by mehdi_amini on Aug 21 2020, 10:21 PM.

Details

Summary

This makes OpPassManager more of a "container" of passes and not responsible to drive the execution.
As such we also make it constructible publicly, which will allow to build arbitrary pipeline decoupled from the execution. We'll make use of this facility to expose "dynamic pipeline" in the future.

Diff Detail

Event Timeline

mehdi_amini created this revision.Aug 21 2020, 10:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 21 2020, 10:21 PM
mehdi_amini requested review of this revision.Aug 21 2020, 10:21 PM

remove parent

remove dynamic pass pipeline

mehdi_amini edited the summary of this revision. (Show Details)Aug 21 2020, 10:35 PM
rriddle accepted this revision.Aug 24 2020, 4:41 PM
This revision is now accepted and ready to land.Aug 24 2020, 4:41 PM
This revision was landed with ongoing or failed builds.Aug 26 2020, 9:57 PM
This revision was automatically updated to reflect the committed changes.