]> granicus.if.org Git - clang/commit
[OPENMP] Codegen for 'taskyield' directive
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 5 Feb 2015 05:57:51 +0000 (05:57 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 5 Feb 2015 05:57:51 +0000 (05:57 +0000)
commitb46d4eb22a157c717f217b85f2ff792a087e8d0e
tree870822fb0908e106ed5c7d32e3f48298bef7cc7e
parenteb90c50caad3534dde4f709ec833a07f29ae97e4
[OPENMP] Codegen for 'taskyield' directive
For 'taskyield' directive emit call to kmp_int32 __kmpc_omp_taskyield(ident_t *,
kmp_int32 global_tid, int end_part); runtime function call with end_part arg set
to 0 (it is ignored).
Differential Revision: http://reviews.llvm.org/D7047

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228272 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/taskyield_codegen.cpp [new file with mode: 0644]