[all-commits] [llvm/llvm-project] 62a933: [Support][PPC] Fix bot failures due to cd53ded557c3

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Tue Aug 4 07:01:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 62a933b72c5b060bcb2c7332d05082f002d6c65a
      https://github.com/llvm/llvm-project/commit/62a933b72c5b060bcb2c7332d05082f002d6c65a
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M llvm/lib/Support/Host.cpp

  Log Message:
  -----------
  [Support][PPC] Fix bot failures due to cd53ded557c3

Commit https://reviews.llvm.org/rGcd53ded557c3 attempts to fix the
computation in computeHostNumPhysicalCores() to respect Affinity.
However, the GLIBC wrapper of the affinity system call fails with
a default size of cpu_set_t on systems that have more than 1024 CPUs.
This just fixes the computation on such large machines.




More information about the All-commits mailing list