[all-commits] [llvm/llvm-project] 187a35: Revert D147493 "[ELF] Cap parallel::strategy to 16...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Apr 20 09:49:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 187a35527d8364994e5acf0a528a758adbd617ac
      https://github.com/llvm/llvm-project/commit/187a35527d8364994e5acf0a528a758adbd617ac
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M lld/ELF/Driver.cpp

  Log Message:
  -----------
  Revert D147493 "[ELF] Cap parallel::strategy to 16 threads when --threads= is unspecified"

This reverts commit da68d2164efcc1f5e57f090e2ae2219056b120a0.

This change is correct, but left a `config->threadCount` use that is error-prone
and may harm performance when parallel::strategy.compute_thread_count() > 16.




More information about the All-commits mailing list