llvm with tablegen backend for capstone disassembler
Go to file
Paul Osmialowski 0732fcc7d5 Fix hwloc topology traversal code unable to handle situation where L2 cache is common for the packages
Currently cores within package that share the same L2 cache are grouped together.
The current logic behind this assumes that the L2 cache is always at deeper
(or the same) level than the package itself. In case when L2 cache is common
for all packages (and the packages are at deeper level than L2 cache) the whole of
the further topology discovery fails to find any computational units resulting in
following assertion:

Assertion failure at kmp_affinity.cpp(715): nActiveThreads == __kmp_avail_proc.
OMP: Error #13: Assertion failure at kmp_affinity.cpp(715).

This patch adds a bit of a logic that prevents such situation from occurring.

Differential Revision: https://reviews.llvm.org/D61796

llvm-svn: 360890
2019-05-16 13:16:24 +00:00
clang Fix isInSystemMacro in presence of macro and pasted token 2019-05-16 12:40:00 +00:00
clang-tools-extra [clang-tidy] Removed superfluous and slightly annoying newlines in run-clang-tidy's output. 2019-05-16 12:39:22 +00:00
compiler-rt [crt] Mark dso_handle test as xfailing on ARM. 2019-05-16 11:13:49 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx [libc++] [test] Use std::nextafter() instead of std::nexttoward() 2019-05-14 13:56:20 +00:00
libcxxabi minor cmake formatting style fix 2019-05-07 13:14:14 +00:00
libunwind [PPC] Fix 32-bit build of libunwind 2019-05-16 06:49:20 +00:00
lld [lld-link] Add missing "REQUIRES: x86" to COFF/lib-module-asm.ll test. 2019-05-16 11:29:30 +00:00
lldb DWARFContext: Return empty data extractors instead of null pointers 2019-05-16 11:19:02 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm [CodeGen] Add lround/llround builtins 2019-05-16 13:15:27 +00:00
openmp Fix hwloc topology traversal code unable to handle situation where L2 cache is common for the packages 2019-05-16 13:16:24 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly [polly] Fix non-determinism in IslNodeBuilder. 2019-05-14 23:01:19 +00:00
pstl [pstl] Make the default backend be the serial backend and always provide parallel policies 2019-04-24 20:12:36 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +00:00
README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.