[llvm-dev] LLD: time to enable --threads by default

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 16 13:43:45 PST 2016


On 16 November 2016 at 21:29, Rui Ueyama <ruiu at google.com> wrote:
> On such a computer, you don't want to enable threads at all, no? If so, you
> can build LLVM without LLVM_ENABLE_THREADS.

ARM hardware varies greatly, you don't want to restrict that much.

Some boards have one core and 512MB of RAM, others have 8 cores and
1GB, others 8 cores and 32GB, others 96 cores, and so on.

You have mostly answered my questions, though.

Single -> multi thread in a single core is mostly noise and the number
of threads are detected from the number of available cores. That
should be fine on most cases, even on old ARM.

cheers,
--renato


More information about the llvm-dev mailing list