This is an archive of the discontinued LLVM Phabricator instance.

Add a clear() method on the PassManager (NFC)
ClosedPublic

Authored by mehdi_amini on Oct 24 2021, 8:18 PM.

Details

Summary

This allows to clear an OpPassManager and populated it again with a new
pipeline, while preserving all the other options (including instrumentations).

Diff Detail

Event Timeline

mehdi_amini created this revision.Oct 24 2021, 8:18 PM
mehdi_amini requested review of this revision.Oct 24 2021, 8:18 PM
rriddle accepted this revision.Oct 24 2021, 9:10 PM
This revision is now accepted and ready to land.Oct 24 2021, 9:10 PM
This revision was automatically updated to reflect the committed changes.