This is an archive of the discontinued LLVM Phabricator instance.

Add support for merging strings with alignment larger than one char
ClosedPublic

Authored by rafael on Feb 18 2016, 1:19 PM.

Details

Reviewers
ruiu
Summary

This reduces the .rodata of scyladb from 4501932 to 4334639 bytes (1.038 times smaller).

I don't think it is critical to support tail merging, just exact duplicates, but given the code organization it was actually a bit easier to support both.

Diff Detail

Event Timeline

rafael updated this revision to Diff 48391.Feb 18 2016, 1:19 PM
rafael retitled this revision from to Add support for merging strings with alignment larger than one char.
rafael updated this object.
rafael added a reviewer: ruiu.
rafael added a subscriber: llvm-commits.
ruiu accepted this revision.Feb 18 2016, 1:33 PM
ruiu edited edge metadata.

LGTM

This revision is now accepted and ready to land.Feb 18 2016, 1:33 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in r261327.