[PATCH] D22438: [llvm-profdata] Speed up merging by using a thread pool
David Li via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 14:29:50 PDT 2016
davidxl accepted this revision.
davidxl added a comment.
This revision is now accepted and ready to land.
lgtm
Probably also add a test as a follow up to test option -num-threads=1 and some other non-default value.
================
Comment at: tools/llvm-profdata/llvm-profdata.cpp:173
@@ +172,3 @@
+
+/// Merge two writer contexts together.
+static void mergeWriterContexts(WriterContext *Dst, WriterContext *Src) {
----------------
--> Merge Src context into Dst.
https://reviews.llvm.org/D22438
More information about the llvm-commits
mailing list