[OPENMP] Codegen for 'taskwait' directive.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 27 Apr 2015 05:22:09 +0000 (05:22 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 27 Apr 2015 05:22:09 +0000 (05:22 +0000)
commit8b8e202a33cbb3f1c64d306436be7c9af624b253
treec912b1e7251d4c5a23e548ddbbb4ec22b8b76de6
parenta89adf22db0db5aaa561b20a5ae1845190c851a7
[OPENMP] Codegen for 'taskwait' directive.

Emit the following code for 'taskwait' directive within tied task:
call i32 @__kmpc_omp_taskwait(<loc>, i32 <thread_id>);
Differential Revision: http://reviews.llvm.org/D9245

llvm-svn: 235836
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/taskwait_codegen.cpp [new file with mode: 0644]