Emit the following code for 'single' directive with 'private' clause:
if (@__kmpc_single()) { <default init for privates> @__kmpc_end_single(); }
Paths
| Differential D9238
[OPENMP] Codegen for 'private' clause in 'single' directive. ClosedPublic Authored by ABataev on Apr 23 2015, 9:44 PM.
Details Summary Emit the following code for 'single' directive with 'private' clause: if (@__kmpc_single()) { <default init for privates> @__kmpc_end_single(); }
Diff Detail
Event TimelineClosed by commit rL235832: [OPENMP] Codegen for 'private' clause in 'single' directive. (authored by ABataev). · Explain WhyApr 26 2015, 8:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 24450 cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp
cfe/trunk/test/OpenMP/single_private_codegen.cpp
|