[all-commits] [llvm/llvm-project] 824a28: [lld-macho][nfc] Simplify MarkLive.cpp using `if c...

Jez Ng via All-commits all-commits at lists.llvm.org
Wed Aug 31 07:41:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 824a28819e2bb82ca0086da2d4c3bed8761590c0
      https://github.com/llvm/llvm-project/commit/824a28819e2bb82ca0086da2d4c3bed8761590c0
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M lld/MachO/MarkLive.cpp

  Log Message:
  -----------
  [lld-macho][nfc] Simplify MarkLive.cpp using `if constexpr`

No significant perf diff, as expected.

             base           diff           difference (95% CI)
  sys_time   1.722 ± 0.030  1.727 ± 0.027  [  -0.6% ..   +1.2%]
  user_time  5.081 ± 0.032  5.087 ± 0.030  [  -0.2% ..   +0.4%]
  wall_time  6.008 ± 0.056  6.029 ± 0.053  [  -0.1% ..   +0.8%]
  samples    25             37

Reviewed By: #lld-macho, oontvoo, thakis, BertalanD

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




More information about the All-commits mailing list