This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][nfc] Use llvm::enumerate + destructuring in more places
ClosedPublic

Authored by int3 on Oct 21 2022, 7:06 PM.

Details

Summary

I love C++17!

chromium_framework_less_dwarf on my 16-core Mac Pro shows no stat sig change in wall time but a slight decrease in user time:

           base           diff           difference (95% CI)
sys_time   1.759 ± 0.037  1.761 ± 0.033  [  -0.9% ..   +1.1%]
user_time  4.920 ± 0.043  4.886 ± 0.051  [  -1.2% ..   -0.2%]
wall_time  5.950 ± 0.117  5.900 ± 0.116  [  -1.8% ..   +0.2%]
samples    26             37

Diff Detail

Event Timeline

int3 created this revision.Oct 21 2022, 7:06 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 21 2022, 7:06 PM
int3 requested review of this revision.Oct 21 2022, 7:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 21 2022, 7:06 PM
int3 edited the summary of this revision. (Show Details)Oct 21 2022, 7:08 PM
int3 edited the summary of this revision. (Show Details)
thakis accepted this revision.Oct 22 2022, 4:10 AM
This revision is now accepted and ready to land.Oct 22 2022, 4:10 AM