Displaying 1 result from an estimated 1 matches for "bb772a7e6d4ebf2b46c6d42c95f40ddf".
2020 Apr 12
7
LLVM multithreading support
...ction is useful.
Historically, LLVM had a design where you could dynamically enable and disable multithreading support in a tool, which would be perfect for this use case, but it got removed by this patch <https://github.com/llvm/llvm-project/commit/9c9710eaf4c1f01b8b518bdba89aba059ab14175#diff-bb772a7e6d4ebf2b46c6d42c95f40ddf>: (xref https://reviews.llvm.org/D4216 <https://reviews.llvm.org/D4216>). The rationale in the patch doesn’t make sense to me - this mode had nothing to do with the old LLVM global lock, this had to do with whether llvm::llvm_is_multithreaded() returned true or false … which all the locki...