[PATCH] D88240: [OPENMP]Fix PR47621: Variable used by task inside a template function is not made firstprivate by default
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 24 09:39:30 PDT 2020
ABataev created this revision.
ABataev added a reviewer: jdoerfert.
Herald added subscribers: guansong, yaxunl.
Herald added a project: clang.
ABataev requested review of this revision.
Herald added a subscriber: sstefan1.
Need to fix a check for the variable if it is declared in the inner
OpenMP region to be able to firstprivatize it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88240
Files:
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
clang/test/OpenMP/task_codegen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88240.294094.patch
Type: text/x-patch
Size: 8859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200924/dd906806/attachment.bin>
More information about the cfe-commits
mailing list