]> granicus.if.org Git - clang/commit
[OPENMP] Capture global variables in all target executable regions.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 29 Aug 2017 19:30:57 +0000 (19:30 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 29 Aug 2017 19:30:57 +0000 (19:30 +0000)
commit6c16d90e3ed4581e2b12dd6feeb4f753bfc775ed
tree3d29426fb3a8dba8b40c8d53589eb1de53321865
parentc39ec45ed8e34f24e29e6005a1c1cbb3a6292944
[OPENMP] Capture global variables in all target executable regions.

Capturing of the global variables occurs only in target regions. Patch
fixes it and allows capturing of globals in all target executable
directives.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312024 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_teams_codegen.cpp