[PATCH] D16749: [OpenMP] Map clause codegeneration.

Samuel Antao via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 29 23:58:55 PST 2016


sfantao created this revision.
sfantao added reviewers: ABataev, hfinkel, kkwli0, carlo.bertolli, arpith-jacob.
sfantao added subscribers: fraggamuffin, caomhin, cfe-commits.

Implement codegen for the map clause. All the new list items in 4.5 specification are supported. 

Fix bug in the generation of array sections that was exposed by some of the map clause tests: for pointer types the offsets have to be calculated from the pointee not the pointer.

http://reviews.llvm.org/D16749

Files:
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/Sema/SemaOpenMP.cpp
  test/OpenMP/target_map_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16749.46469.patch
Type: text/x-patch
Size: 164427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160130/f5d7819b/attachment-0001.bin>


More information about the cfe-commits mailing list