This repository has been archived by the owner on Mar 28, 2020. It is now read-only.
swift-3.0-PREVIEW-1
shahmishal
released this
13 Jun 22:10
·
7070 commits
to stable
since this release
[tsan] On OS X, optimize main thread’s ThreadState accesses This is a very simple optimization that gets about 10% speedup for certain programs. We’re currently storing the pointer to the main thread’s ThreadState, but we can store the state directly in a static variable, which avoid the load acquire. Differential Revision: http://reviews.llvm.org/D20910 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271906 91177308-0d34-0410-b5e6-96231b3b80d8