This is an archive of the discontinued LLVM Phabricator instance.

Test for Oz fail
Changes PlannedPublic

Authored by vitalybuka on Apr 16 2019, 5:10 PM.

Details

Reviewers
None
Summary

-Oz builds are usually significantly large than -Os build

Event Timeline

vitalybuka created this revision.Apr 16 2019, 5:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2019, 5:10 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
pcc added a subscriber: pcc.Apr 16 2019, 5:58 PM

Interesting, it looks like the difference here is almost entirely due to different inlining decisions.

And according to the tool I posted here:
http://lists.llvm.org/pipermail/llvm-dev/2019-April/131811.html
in the few functions in which we made the same inlining decisions, the -Oz assembly is almost always smaller.

vitalybuka planned changes to this revision.Apr 29 2019, 11:09 AM