This is an archive of the discontinued LLVM Phabricator instance.

Pass -Oz/-Os along to the backend
AbandonedPublic

Authored by paquette on Apr 20 2018, 6:55 PM.

Details

Reviewers
javed.absar
Summary

This is dependent on https://reviews.llvm.org/D45916 (Enable MachineOutliner by default under -Oz for AArch64).

This patch teaches clang to pass along size optimization information along to the backend to facilitate use of the MachineOutliner.

Diff Detail

Event Timeline

paquette created this revision.Apr 20 2018, 6:55 PM
paquette updated this revision to Diff 143584.Apr 23 2018, 9:49 AM

Add context to diff.

paquette abandoned this revision.Apr 26 2018, 10:48 AM

We decided it'd be better to just use function attributes for the outliner, so I'm abandoning this.