[PATCH] D12262: [OpenMP] Capture global variables in target regions.
Samuel Antao via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 21 20:07:42 PDT 2015
sfantao created this revision.
sfantao added reviewers: ABataev, rjmccall, hfinkel.
sfantao added a subscriber: cfe-commits.
All global variables that are not enclosed in a declare target region must be captured in the target region as local variables do. Currently, there is no support for declare target, so this patch adds support for capturing all the global variables used in a the target region.
This patch requires http://reviews.llvm.org/D11361.
http://reviews.llvm.org/D12262
Files:
include/clang/Basic/OpenMPKinds.h
include/clang/Sema/Sema.h
lib/Basic/OpenMPKinds.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_codegen_global_capture.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12262.32895.patch
Type: text/x-patch
Size: 16278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150822/00119133/attachment.bin>
More information about the cfe-commits
mailing list