This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][nfc] Simplify MarkLive.cpp using `if constexpr`
ClosedPublic

Authored by int3 on Aug 31 2022, 5:36 AM.

Details

Summary

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

Diff Detail

Event Timeline

int3 created this revision.Aug 31 2022, 5:36 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
int3 requested review of this revision.Aug 31 2022, 5:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 31 2022, 5:36 AM
oontvoo accepted this revision.Aug 31 2022, 5:58 AM
oontvoo added a subscriber: oontvoo.

nice!

This revision is now accepted and ready to land.Aug 31 2022, 5:58 AM
thakis accepted this revision.Aug 31 2022, 6:09 AM
BertalanD accepted this revision.Aug 31 2022, 6:33 AM
This revision was automatically updated to reflect the committed changes.