[all-commits] [llvm/llvm-project] 033356: [OPENMP] Fix PR47999: correctly map implicit first...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Tue Nov 17 10:22:52 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0333567c47c0d496bba146cd4f7b65a8ef8ba113
https://github.com/llvm/llvm-project/commit/0333567c47c0d496bba146cd4f7b65a8ef8ba113
Author: Alexey Bataev <a.bataev at hotmail.com>
Date: 2020-11-17 (Tue, 17 Nov 2020)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
A clang/test/OpenMP/task_in_task_firstprivate_codegen.cpp
Log Message:
-----------
[OPENMP] Fix PR47999: correctly map implicit firstprivates in outer tasks.
If the variable is implicitly firstprivatized in the inner task-based
region, it also must be firstprivatized in outer task-based regions.
Previously firstprivates were captured in tasks but later it was
optimized to reduce the memory usage. But still need to mark such
variables as implicit firstprivate in outer tasks.
Differential Revision: https://reviews.llvm.org/D91627
More information about the All-commits
mailing list