Go to file
Rafael Espindola 6e182fbab4 Use sched_getaffinity instead of std:🧵:hardware_concurrency.
The issue with std:🧵:hardware_concurrency is that it forwards
to libc and some implementations (like glibc) don't take thread
affinity into consideration.

With this change a llvm program that can execute in only 2 cores will
use 2 threads, even if the machine has 32 cores.

This makes benchmarking a lot easier, but should also help if someone
doesn't want to use all cores for compilation for example.

llvm-svn: 314809
2017-10-03 16:25:15 +00:00
clang [OpenCL] Fix checking of vector type casting 2017-10-03 14:34:29 +00:00
clang-tools-extra [clang-tidy] Fix bug 34747, streaming operators and hicpp-signed-bitwise 2017-10-03 16:25:01 +00:00
compiler-rt Revert "[XRay][compiler-rt] Use a hand-written circular buffer in BufferQueue" 2017-10-03 11:40:54 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc integer/sub_sat: Use clang builtin instead of llvm asm 2017-10-02 18:39:03 +00:00
libcxx Fix test suite misconfiguration on OS X 2017-10-03 02:25:05 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind Add CMake support for building for MinGW 2017-10-02 20:46:37 +00:00
lld [MIPS] Generate thunks for microMIPS code 2017-10-03 13:30:02 +00:00
lldb Move install_name_tool to a separate make target. 2017-10-02 22:11:22 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm Use sched_getaffinity instead of std:🧵:hardware_concurrency. 2017-10-03 16:25:15 +00:00
openmp [test] Fix uninitialized memory in omp_taskloop_grainsize.c 2017-09-29 13:53:03 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly XFAIL two test that fail VerifyDFSNumbers DominatorTree check 2017-10-03 14:31:53 +00:00