[lld] r287042 - Use one task per iteration in parallel_for_loop.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 08:51:44 PST 2016


On 16 November 2016 at 11:36, Rui Ueyama <ruiu at google.com> wrote:
> I think it is not beautiful to take care of granularity of tasks on caller
> side, and it can be resolved with this. It works for me. What do you think?

I really don't think we can handle this is the callee. The question of
what is a reasonable task is very dependent on the caller and an api
like parallel_for_each should not be trying to do aggregation.

This is specially true when we have completely different code for MSVC
and for other compilers.

Cheers,
Rafael


More information about the llvm-commits mailing list