llvm-project/mlir
jerryyin f87ceb63eb [AMDGPU] Adding mutex to guard lld:🧝:link interface use
check-mlir target run tests simultaneously with multiple threads. This caused multiple threads to invoke the `lld:🧝:link()` interface at the same time. Since the interface does not have a thread-safe implementation, add a metex to prevent multi-threaded access.

I discovered this by looking the the failure stack trace. lld/ELF/symbolTable.cpp, SymbolTable::insert() hit into an assert with related to Epoch Trackers. The root cause is to due to there is no protection around the symMap (update) which is implemented in non-thread safe data structure: denseMap.

Differential Revision: https://reviews.llvm.org/D88038
2020-09-21 11:37:57 -07:00
..
cmake/modules [mlir] Make mlir_check_link_libraries() work with interface libraries 2020-08-14 11:39:04 -07:00
docs [spirv] Move device info from resource limit into target env 2020-09-18 17:41:07 -04:00
examples Fix MLIR standalone example to properly handle namespace 2020-09-14 21:03:47 +00:00
include [mlir][openacc] Add attributes to parallel op async, wait and self clauses 2020-09-21 11:25:36 -04:00
integration_test [mlir][Linalg] Evolve named ops to use assembly form and support linalg on tensors. 2020-09-18 06:14:30 -04:00
lib [MLIR] Fix typo and expand gpu.host_register description. 2020-09-21 13:44:39 +02:00
test [mlir][openacc] Add attributes to parallel op async, wait and self clauses 2020-09-21 11:25:36 -04:00
tools [AMDGPU] Adding mutex to guard lld:🧝:link interface use 2020-09-21 11:37:57 -07:00
unittests [mlir] Support default valued attribute in StructsGen 2020-09-03 09:46:44 -04:00
utils Revert "Adding GDB PrettyPrinter for mlir::Identifier." 2020-09-03 08:28:15 +01:00
.clang-format
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt [mlir] Initial version of C APIs 2020-08-05 15:04:08 +02:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.