[OPENMP, NVPTX] Codegen for critical construct.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 7 May 2018 17:23:05 +0000 (17:23 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 7 May 2018 17:23:05 +0000 (17:23 +0000)
commit504fc2d0cded755406e25939f355fe4701849df8
tree0c6381307673584859aebcebf5b23cacac861ac9
parentc90bb6d762da723ad41701fae82020b500332fc3
[OPENMP, NVPTX] Codegen for critical construct.

Added correct codegen for the critical construct on NVPTX devices.

llvm-svn: 331652
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
clang/test/OpenMP/nvptx_parallel_codegen.cpp