diff options
author | Peixin Qiao <qiaopeixin@huawei.com> | 2022-10-05 20:22:33 +0800 |
---|---|---|
committer | Peixin Qiao <qiaopeixin@huawei.com> | 2022-10-05 20:22:33 +0800 |
commit | f4accbf55f4d0fcd6d7cc6f7632a0e4b69c9f3dd (patch) | |
tree | 4f4d1227f09d7416a628ec5ec21768259fce2d61 /clang/lib/Sema/SemaOpenMP.cpp | |
parent | e94619b955104841cc2a4a6febe4025ee140194e (diff) | |
download | llvm-f4accbf55f4d0fcd6d7cc6f7632a0e4b69c9f3dd.zip llvm-f4accbf55f4d0fcd6d7cc6f7632a0e4b69c9f3dd.tar.gz llvm-f4accbf55f4d0fcd6d7cc6f7632a0e4b69c9f3dd.tar.bz2 |
[flang][OpenMP] Support privatization for single construct
This supports the lowering of private and firstprivate clauses in single
construct. The alloca ops are emitted in the entry block according to
https://llvm.org/docs/Frontend/PerformanceTips.html#use-of-allocas, and
the load/store ops are emitted in the single region. The data race
problem is handled in OMPIRBuilder. That is, the barrier is emitted in
OMPIRBuilder.
Co-authored-by: Nimish Mishra <neelam.nimish@gmail.com>
Reviewed By: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D128596
Diffstat (limited to 'clang/lib/Sema/SemaOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions