[all-commits] [llvm/llvm-project] 2090d6: [lld-macho] Switch to xxh3_64bits

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jul 19 09:58:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2090d66b2376f3041d8a696fcaf94266188e6e96
      https://github.com/llvm/llvm-project/commit/2090d66b2376f3041d8a696fcaf94266188e6e96
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M lld/MachO/ICF.cpp
    M lld/MachO/InputSection.cpp
    M lld/MachO/SyntheticSections.cpp
    M lld/MachO/Writer.cpp

  Log Message:
  -----------
  [lld-macho] Switch to xxh3_64bits

xxh3 is substantially faster than xxh64.
For lld/ELF, there is substantial speedup in `.debug_str` duplicate
elimination (D154813). Use xxh3 for lld-macho as well.

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D155677




More information about the All-commits mailing list