This is an archive of the discontinued LLVM Phabricator instance.

Make post-link regular LTO pipelines match between new and old PM
Needs ReviewPublic

Authored by tejohnson on Apr 23 2019, 3:04 PM.

Details

Summary

As discussed in the D61022, the regular LTO post link new PM pipeline
is doing less optimizations than in the old PM. It was simpler to
refactor those passes into another PassBuilder routine, and invoke it
also on the O1 early return path. The alternative is copying a bunch of
code, or guarding a lot more code under a check that the opt level >O1.

Event Timeline

tejohnson created this revision.Apr 23 2019, 3:04 PM
ormris added a subscriber: ormris.Apr 30 2019, 1:40 PM