[PATCH] D99279: [lld-macho] Parallelize UUID hash computation

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 24 09:51:10 PDT 2021


int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added subscribers: arichardson, emaste.
Herald added a reviewer: MaskRay.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This reuses the approach (and some code) from LLD-ELF.

It's a decent win when linking chromium_framework:

      N           Min           Max        Median           Avg        Stddev
  x  20          4.58          4.83          4.66        4.6685   0.066591844
  +  20          4.42          4.61           4.5         4.505    0.04751731
  Difference at 95.0% confidence
          -0.1635 +/- 0.0370242
          -3.5022% +/- 0.793064%
          (Student's t, pooled s = 0.0578462)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99279

Files:
  lld/ELF/Writer.cpp
  lld/MachO/Writer.cpp
  lld/include/lld/Common/Arrays.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99279.333027.patch
Type: text/x-patch
Size: 3628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210324/cf20f6e9/attachment-0001.bin>


More information about the llvm-commits mailing list