[PATCH] D133014: [lld-macho][nfc] Simplify MarkLive.cpp using `if constexpr`

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 05:36:18 PDT 2022


int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a reviewer: ributzka.
Herald added projects: lld-macho, All.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133014

Files:
  lld/MachO/MarkLive.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133014.456937.patch
Type: text/x-patch
Size: 3645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220831/ee76194a/attachment.bin>


More information about the llvm-commits mailing list