[PATCH] D36607: [Support/Parallel] - Do not spawn thread for single/last task.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 07:01:53 PDT 2017


ruiu added a comment.

This doesn't seem correct. Imagine that you have infinite number of cores. Then, the new code would take 2x time than the old code. I guess you are "fixing" the problem at a wrong place.


https://reviews.llvm.org/D36607





More information about the llvm-commits mailing list