HomePhabricator

[NewPM] Add pipeline EP callback after initial frontend cleanup

Authored by aeubanks on Nov 19 2020, 9:38 AM.

Description

[NewPM] Add pipeline EP callback after initial frontend cleanup

This matches the legacy PM's EP_ModuleOptimizerEarly. Some backends use
this extension point and adding the pass somewhere else like
PipelineStartEPCallback doesn't work.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D91804

Details