Previously the alignment on the newly created puts string was not set,
meaning that DataLayout::getPreferredAlignment was free to overalign
it to 16 bytes. This causes unnecessary code bloat.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D51410
[SLC] Add an alignment to printf->puts global string ClosedPublic Authored by dmgreen on Aug 29 2018, 3:49 AM.
Details Summary Previously the alignment on the newly created puts string was not set,
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 4 2018, 11:21 AM Closed by commit rL341527: [SLC] Add an alignment to CreateGlobalString (authored by dmgreen). · Explain WhySep 6 2018, 1:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 163037 lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/printf-1.ll
|