[PATCH] D12871: [OpenMP] Target directive host codegen - rebased
Samuel Antao via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 15 20:01:39 PDT 2015
sfantao updated this revision to Diff 34869.
sfantao added a comment.
Update code to use implicit parameters for the captured variables using `GenerateOpenMPCapturedStmtFunction`, similarly to what is done to other directives.
`UseOnlyReferences` boolean was added to `GenerateOpenMPCapturedStmtFunction`, given that for target regions, all the captures need to be references, VAT sizes included. `UseOnlyReferences` is set to false by default and only set to true when emitting a target directive.
http://reviews.llvm.org/D12871
Files:
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.h
test/OpenMP/target_codegen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12871.34869.patch
Type: text/x-patch
Size: 54144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150916/e5937268/attachment-0001.bin>
More information about the cfe-commits
mailing list