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

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 07:11:19 PDT 2017


grimar added a comment.

In https://reviews.llvm.org/D36607#839043, @ruiu wrote:

> 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.


Why new code will take 2x time ?


https://reviews.llvm.org/D36607





More information about the llvm-commits mailing list