[Bug 281765] llvm - ThinLTO never uses more than a single thread by default
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Oct 2024 11:44:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281765
--- Comment #8 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Mark Millard from comment #7)
My guess is that
https://github.com/llvm/llvm-project/commit/a8788de1c3f3c8c3a591bd3aae2acee1b43b229a
("[ELF] Cap parallel::strategy to 16 threads when --threads= is unspecified")
is enough to restrain lld's grabbing of threads, at least in most situations,
and we can probably revert
https://cgit.freebsd.org/src/commit/?id=04bab189b8a54974fcd9530140e4eed6ad137f48
("llvm/lld: damage control threading") now. Also because the latter changes the
behavior of the llvm Support library, and thus any llvm-dependent tool that
calls llvm::ThreadPoolStrategy::compute_thread_count().
--
You are receiving this mail because:
You are the assignee for the bug.