================
@@ -1240,14 +1241,16 @@ def MapInfoOp : OpenMP_Op<"map.info",
[AttrSizedOperandSegments]> {
Description of arguments:
- `var_ptr`: The address of variable to copy.
- - `var_type`: The type of the variable to copy.
+ - `var_ptr_type`: The type of the var_ptr variable to copy.
- 'map_type': OpenMP map type for this map capture, for example: from, to
and
always. It's a bitfield composed of the OpenMP runtime flags stored in
OpenMPOffloadMappingFlags.
- 'map_capture_type': Capture type for the variable e.g. this, byref,
byvalue, byvla
this can affect how the variable is lowered.
- `var_ptr_ptr`: Used when the variable copied is a member of a class,
structure
- or derived type and refers to the originating struct.
+ or derived type and refers to the originating struct.
----------------
bhandarkar-pranav wrote:
I think in the case of a derived type it refers to the originating struct. But,
in the case of a descriptor of, say an allocatable, it holds the pointer to the
underlying data. This is as good a time as any to fix this language so I think
we should take this opportunity to fix it.
https://github.com/llvm/llvm-project/pull/177302
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits