This is an archive of the discontinued LLVM Phabricator instance.

[NewPM] Only non-trivially loop unswitch at -O3 and for non-optsize functions
ClosedPublic

Authored by aeubanks on Jan 12 2021, 3:17 PM.

Diff Detail

Event Timeline

aeubanks created this revision.Jan 12 2021, 3:17 PM
aeubanks requested review of this revision.Jan 12 2021, 3:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 12 2021, 3:17 PM
SjoerdMeijer accepted this revision.Jan 13 2021, 12:46 PM

To avoid code-size bloat, this is indeed the behaviour that we want.
Thanks, LGTM.

This revision is now accepted and ready to land.Jan 13 2021, 12:46 PM
asbirlea accepted this revision.Jan 13 2021, 1:11 PM

Thank you for confirming @SjoerdMeijer.

aeubanks updated this revision to Diff 316521.Jan 13 2021, 2:46 PM

fix ARM unswitch test: looks like minsize functions are becoming smaller, which is good

This revision was landed with ongoing or failed builds.Jan 13 2021, 2:57 PM
This revision was automatically updated to reflect the committed changes.