]> granicus.if.org Git - clang/commit
[OPENMP] Remove extra sync barriers for 'firstprivate' clause.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 15 Feb 2016 08:07:17 +0000 (08:07 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 15 Feb 2016 08:07:17 +0000 (08:07 +0000)
commit60ea58923cedab42181297ba150cab731449fc67
tree98fdef87d54c42a4fb5b071a58fd58acd7e19721
parentd53f339e512a2bc4d710c7695f61097a9cc0faed
[OPENMP] Remove extra sync barriers for 'firstprivate' clause.
Sync barrier will be emitted after generation of firstprivate variables
only if one of the firstprivate vars is used in lastprivate clause.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260877 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/for_firstprivate_codegen.cpp
test/OpenMP/parallel_firstprivate_codegen.cpp
test/OpenMP/sections_firstprivate_codegen.cpp
test/OpenMP/single_firstprivate_codegen.cpp