Code size optimisation: don't rewrite fputs to fwrite when optimising for size because fwrite requires more arguments and thus extra MOVs are required.
Diff Detail
Diff Detail
Paths
| Differential D22089
Do not rewrite fputs to fwrite when optimising for size ClosedPublic Authored by SjoerdMeijer on Jul 7 2016, 5:54 AM.
Details
Diff Detail Event TimelineSjoerdMeijer retitled this revision from to Do not rewrite fputs to fwrite when optimising for size. SjoerdMeijer updated this object. This revision is now accepted and ready to land.Jul 7 2016, 6:47 AM
Revision Contents
Diff 63061 lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/fputs-opt-size.ll
|