[PATCH] [OPENMP] Codegen for 'taskyield' directive

Alexey Bataev a.bataev at hotmail.com
Sun Jan 18 22:10:24 PST 2015


Hi rjmccall, fraggamuffin, ejstotzer,

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).

http://reviews.llvm.org/D7047

Files:
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGOpenMPRuntime.h
  lib/CodeGen/CGStmtOpenMP.cpp
  test/OpenMP/taskyield_codegen.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7047.18368.patch
Type: text/x-patch
Size: 4764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150119/ed11ba79/attachment.bin>


More information about the cfe-commits mailing list