This is an archive of the discontinued LLVM Phabricator instance.

Do not inline memcpy when optimising for size
ClosedPublic

Authored by SjoerdMeijer on Jun 3 2016, 5:41 AM.

Details

Summary

Code size optimisation: do not inline memcpy if expansion results in more instructions than the libary call.

Diff Detail

Repository
rL LLVM

Event Timeline

SjoerdMeijer retitled this revision from to Do not inline memcpy when optimising for size.
SjoerdMeijer updated this object.
SjoerdMeijer added a subscriber: llvm-commits.
junbuml added a subscriber: junbuml.Jun 3 2016, 7:01 AM
t.p.northover accepted this revision.Jun 3 2016, 8:14 AM
t.p.northover edited edge metadata.

Looks reasonable to me.

Tim.

This revision is now accepted and ready to land.Jun 3 2016, 8:14 AM

thanks for reviewing.

This revision was automatically updated to reflect the committed changes.