]> granicus.if.org Git - clang/commit
[OPENMP] Improved codegen for implicit/explicit 'barrier' constructs.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 30 Mar 2015 04:30:22 +0000 (04:30 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 30 Mar 2015 04:30:22 +0000 (04:30 +0000)
commit850b243b02d8a6ccb60000373f0d7d91706907f3
treee328cc3634eaf56a1d9673eff7fa5085e67b654b
parent97a8cdd7d1be836e6ac3e63a6aa945952fb248d2
[OPENMP] Improved codegen for implicit/explicit 'barrier' constructs.

Replace boolean IsExplicit parameter of OpenMPRuntime::emitBarrierCall() method by OpenMPDirectiveKind Kind for better compatibility with the runtime library. Also add processing of 'nowait' clause on worksharing directives.
Differential Revision: http://reviews.llvm.org/D8659

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233511 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/for_codegen.cpp
test/OpenMP/sections_codegen.cpp
test/OpenMP/single_codegen.cpp