[PATCH] [OPENMP] Codegen for 'private' clause in 'single' directive.
Alexey Bataev
a.bataev at hotmail.com
Thu Apr 23 21:45:03 PDT 2015
Hi rjmccall, hfinkel,
Emit the following code for 'single' directive with 'private' clause:
```
if (@__kmpc_single()) {
<default init for privates>
@__kmpc_end_single();
}
```
http://reviews.llvm.org/D9238
Files:
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/single_private_codegen.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9238.24353.patch
Type: text/x-patch
Size: 8800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150424/27c8a62e/attachment.bin>
More information about the cfe-commits
mailing list