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?
http://reviews.llvm.org/D20111 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits