[PATCH] [lld][Core] Implement parallel_for_each

Shankar Kalpathi Easwaran shankarke at gmail.com
Mon Mar 16 14:12:19 PDT 2015


================
Comment at: include/lld/Core/Parallel.h:299
@@ +298,3 @@
+  TaskGroup tg;
+  int64_t taskSize = 1024;
+  while (taskSize <= std::distance(begin, end)) {
----------------
ruiu wrote:
> I think int is enough, but if you choose other type, it should be ptrdiff_t instead of int64_t. (But, well, int should suffice.)
Sure, changed and will commit soon.

http://reviews.llvm.org/D8348

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list