[all-commits] [llvm/llvm-project] e90c8c: [ELF] Optimize basic block section bytesDropped/ju...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Dec 26 22:17:42 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e90c8c042214c1cfacd3ffc38ad2927390cb6fe1
      https://github.com/llvm/llvm-project/commit/e90c8c042214c1cfacd3ffc38ad2927390cb6fe1
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-12-26 (Sun, 26 Dec 2021)

  Changed paths:
    M lld/ELF/Arch/X86_64.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/InputSection.h
    M lld/ELF/Relocations.h

  Log Message:
  -----------
  [ELF] Optimize basic block section bytesDropped/jumpInstrMods

and make them more space efficient. This decreases sizeof(InputSection) from 176
to 160, and decreases peak memory usage by 0.3% when linking Chrome.




More information about the All-commits mailing list