This is an archive of the discontinued LLVM Phabricator instance.

[WIP][IROutliner] Enable the IR outliner post-link for full LTO
Needs ReviewPublic

Authored by lewis-revill on Aug 29 2022, 3:59 AM.

Details

Summary

This patch simply adds the IR outliner to the pipeline of optimizations run under FullLTO post-link. This seems like the right thing to do to capture more candidates, and it provides a small benefit for code size on Embench on riscv32.

Work in progress because I still need to check which tests need to be updated, but submitted for discussion as is.

Diff Detail

Event Timeline

lewis-revill created this revision.Aug 29 2022, 3:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 29 2022, 3:59 AM
lewis-revill requested review of this revision.Aug 29 2022, 3:59 AM