[PATCH] D20111: [OpenMP] Adjust map type bits according to latest spec and use zero size array sections for pointers.
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Wed May 18 05:42:21 PDT 2016
ABataev added inline comments.
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:4873-4877
@@ -4880,1 +4872,7 @@
+ OMP_MAP_IS_PTR = 0x10,
+ /// \brief This flags signals that an argument is the first one relating to
+ /// a map/private clause expression. For some cases a single
+ /// map/privatization results in multiple arguments passed to the runtime
+ /// library.
+ OMP_MAP_FIRST_REF = 0x20,
/// \brief Pass the element to the device by value.
I think multiple arguments for the same mapped/privatized decls must not be passed to runtime lib at all. Do we really need it?
More information about the cfe-commits