[all-commits] [llvm/llvm-project] feadc3: [lld/mac] Make X86_64::getImplicitAddend not do he...

Nico Weber via All-commits all-commits at lists.llvm.org
Mon Dec 7 06:24:29 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: feadc3798d9ab123057a7a1064897188ac8de934
      https://github.com/llvm/llvm-project/commit/feadc3798d9ab123057a7a1064897188ac8de934
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M lld/MachO/Arch/X86_64.cpp

  Log Message:
  -----------
  [lld/mac] Make X86_64::getImplicitAddend not do heap allocations

Speeds up linking Chromium's base_unittests almost 10%. According to ministat:

    N           Min           Max        Median           Avg        Stddev
x   5    0.72193289    0.73073196    0.72560811    0.72565799  0.0032265649
+   5    0.64069581    0.67173195    0.65876389    0.65796089   0.011349451
Difference at 95.0% confidence
	-0.0676971 +/- 0.0121682
	-9.32906% +/- 1.67685%
	(Student's t, pooled s = 0.00834328)

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




More information about the All-commits mailing list