[OPENMP] Fixed codegen for 'copyprivate' clause.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 30 Apr 2015 03:47:32 +0000 (03:47 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 30 Apr 2015 03:47:32 +0000 (03:47 +0000)
commit66beaa93490dd706199efea02a89bc13286cb687
treebba8572bf14f4c13ea51017c038eb879a0168967
parent3981b177096532ad3fa49ba0dcecee35b68fba54
[OPENMP] Fixed codegen for 'copyprivate' clause.

Fixed initialization of 'single' region completion + changed type of the third argument of __kmpc_copyprivate() runtime function to size_t.

llvm-svn: 236198
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/test/OpenMP/single_codegen.cpp