search for: b7aa95c6

Displaying 2 results from an estimated 2 matches for "b7aa95c6".

Did you mean: b72995c6
2015 Feb 26
0
[LLVMdev] Removing contention in PassRegistry accesses to speed up compiles
...countering after our change. > 5. *clang_compile.cpp*: Snippet of code we use to compile code using LLVM. > > > Thanks a lot, > Nipun > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150226/b7aa95c6/attachment.html>
2015 Feb 24
2
[LLVMdev] Removing contention in PassRegistry accesses to speed up compiles
Hi, We use LLVM libraries to compile C++ code and noticed slow downs when multiple threads of a process were compiling at once. *perf *indicated that most of the CPU time was spent in a spin lock, which was being locked/unlocked from llvm::PassRegistry::getPassInfo(). We read the relevant LLVM code and found out that PassRegistry is a ManagedStatic and is shared among all threads in case of a