diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-04-24 04:21:15 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-04-24 04:21:15 +0000 |
commit | 5521d785323adaeab1dad7f3910ca29389893d37 (patch) | |
tree | 87424535e1ebef152124f21e48cbdb6f21c0b2f3 /llvm/lib/Support/APInt.cpp | |
parent | b9ac794f577ebf68c1ad5dd27c83122de3b4b02a (diff) | |
download | llvm-5521d785323adaeab1dad7f3910ca29389893d37.zip llvm-5521d785323adaeab1dad7f3910ca29389893d37.tar.gz llvm-5521d785323adaeab1dad7f3910ca29389893d37.tar.bz2 |
[OPENMP] Codegen for 'firstprivate' clause in 'single' directive.
Emit the following code for 'single' directive with 'firtstprivate' clause:
if (@__kmpc_single()) {
<init for firstprivates>
@__kmpc_end_single();
}
@__kmpc_cancel_barrier(); // To avoid data race in firstprivate init
Differential Revision: http://reviews.llvm.org/D9223
llvm-svn: 235694
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions