[PATCH] D117510: [Support] Merge parallel_for_each into parallelForEach

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 17 12:27:50 PST 2022


MaskRay created this revision.
MaskRay added reviewers: lattner, rnk, rriddle.
Herald added subscribers: dexonsmith, pengfei.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This removes 1 `Fn(...)` call and makes instantiated code smaller.

My x86-64 `lld` executable is 15KiB smaller.
No noticeable difference in performance.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117510

Files:
  llvm/include/llvm/Support/Parallel.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117510.400619.patch
Type: text/x-patch
Size: 4818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220117/d9119c24/attachment.bin>


More information about the llvm-commits mailing list