This is an archive of the discontinued LLVM Phabricator instance.

[PassManager] Add extension point to LTO pipeline to enable module optimization passes to run shortly before loop optimizations
Needs ReviewPublic

Authored by wsmoses on May 21 2023, 6:06 PM.

Details

Summary

This pass introduces an extension point to the LTO new pass manager pipeline to run module passes shortly before loop optimiaztion. This is necessary for transformation passes like Enzyme.

Diff Detail

Event Timeline

wsmoses created this revision.May 21 2023, 6:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2023, 6:06 PM
wsmoses requested review of this revision.May 21 2023, 6:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2023, 6:06 PM
wsmoses updated this revision to Diff 524144.May 21 2023, 6:48 PM

Move location of call before analysis

lg, but needs tests. grep for passes-ep-full-link-time-optimization-early to see similar tests