This is an archive of the discontinued LLVM Phabricator instance.

[WIP] Experimenting with aligning with GCC LIR behavior at Os
AbandonedPublic

Authored by apazos on Feb 20 2019, 6:11 PM.

Details

Reviewers
None
Summary

Experimenting with aligning with GCC LIR behavior at Os

Note:
GCC only transforms loop into memset, memcpy and movmove if
-ftree-loop-distribute-patterns or -ftree-loop-distribution are given.
And it does not transform at -Os even when these options are given.
Both options are enabled at -O3.

Diff Detail

Event Timeline

apazos created this revision.Feb 20 2019, 6:11 PM
apazos abandoned this revision.Mar 1 2019, 5:09 PM

Not profitable