This is an archive of the discontinued LLVM Phabricator instance.

Teach llc about -Oz and -Os
AbandonedPublic

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

Details

Reviewers
javed.absar
Summary

This is the second patch necessary for turning the MachineOutliner on by default under -Oz for AArch64. This teaches llc about -Oz and -Os that it can run passes that are added by default in -Oz and -Os to its pass pipeline.

Since this is a part of a series of patches, the intent here is that the MachineOutliner test that will be added in the final patch will test the behaviour of llc.

Diff Detail

Event Timeline

paquette created this revision.Apr 20 2018, 6:36 PM
paquette updated this revision to Diff 143582.Apr 23 2018, 9:47 AM

Added context to diff.

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

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