]> granicus.if.org Git - clang/commit
[OPENMP] Generate threadprivates as TLS variables by default.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 10 Sep 2015 12:06:58 +0000 (12:06 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 10 Sep 2015 12:06:58 +0000 (12:06 +0000)
commitdcc54531b6014068267024b9cfc03f41c39c0d71
treeda6b4850f3602e85f8c1676ba578d2fb5043c78f
parentfacd696872e3791f452e1effd937da5aeb425edf
[OPENMP] Generate threadprivates as TLS variables by default.
If target supports TLS all threadprivates are generated as TLS. If target does not support TLS, use runtime calls for proper codegen of threadprivate variables.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247273 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/OpenMP/driver.c [new file with mode: 0644]