[all-commits] [llvm/llvm-project] 2cac95: [AIX][PowerPC] Teach the Threading Library About t...

Qiongsi Wu via All-commits all-commits at lists.llvm.org
Fri Sep 29 07:23:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cac95ba2bd91adb4dad552993d589770ec6996d
      https://github.com/llvm/llvm-project/commit/2cac95ba2bd91adb4dad552993d589770ec6996d
  Author: Qiongsi Wu <274595+qiongsiwu at users.noreply.github.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M llvm/lib/Support/CMakeLists.txt
    M llvm/lib/Support/Unix/Threading.inc
    M llvm/unittests/Support/Threading.cpp

  Log Message:
  -----------
  [AIX][PowerPC] Teach the Threading Library About the Number of Physical Cores on AIX (#67683)

The threading library does not recognize AIX and always returns `-1` for
number of physical cores on AIX. This PR teaches the library to
recognize AIX and obtain the correct value for the number of physical
cores.




More information about the All-commits mailing list