This is an archive of the discontinued LLVM Phabricator instance.

[LLD][ELF] Drop the string null terminator from the hash in splitStrings
ClosedPublic

Authored by andrewng on May 26 2022, 9:06 AM.

Diff Detail

Event Timeline

andrewng created this revision.May 26 2022, 9:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 26 2022, 9:06 AM
andrewng requested review of this revision.May 26 2022, 9:06 AM
MaskRay accepted this revision.EditedMay 26 2022, 4:53 PM

Thanks for looking into the performance:)

This decreases work for xxhash and for x86-64 seems to make the code sequence 3 instructions shorter.

This revision is now accepted and ready to land.May 26 2022, 4:53 PM
This revision was landed with ongoing or failed builds.May 27 2022, 2:54 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 27 2022, 2:54 AM

Sorry, but I've missed some updates for LLD tests requiring zlib. Working on the fix now.

thakis added a subscriber: thakis.May 27 2022, 3:48 AM

Looks like this breaks tests: http://45.33.8.238/linux/77072/step_11.txt

Please take a look and revert for now if it takes a while to fix.

Looks like this breaks tests: http://45.33.8.238/linux/77072/step_11.txt

Please take a look and revert for now if it takes a while to fix.

Should already be fixed by commit a94d454390c6.