[PATCH] D55892: [OpenMP] 'close' map-type-modifier code generation

Ahsan Saghir via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 19 10:24:04 PST 2018


saghir created this revision.
saghir added reviewers: ABataev, kkwli0, Hahnfeld, RaviNarayanaswamy, mikerice, hfinkel, gtbercea.
saghir added a project: OpenMP.
Herald added subscribers: cfe-commits, guansong.

This patch provides codegen support for close map-type-modifier in map clause.

A map clause with the close map-type-modifier is a hint to prefer that the variables are mapped using a copy into faster memory.

[NOTE: This will be committed to trunk after support for close map-type-modifier is added in libomptarget. This revision is being created to avoid duplication of work by other people.]


Repository:
  rC Clang

https://reviews.llvm.org/D55892

Files:
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  clang/test/OpenMP/target_data_codegen.cpp
  clang/test/OpenMP/target_enter_data_codegen.cpp
  clang/test/OpenMP/target_exit_data_codegen.cpp
  clang/test/OpenMP/target_map_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55892.178912.patch
Type: text/x-patch
Size: 33511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181219/ef079ac7/attachment-0001.bin>


More information about the cfe-commits mailing list