Unverified Commit ff1f4bf6 authored by agozillon's avatar agozillon Committed by GitHub
Browse files

[OpenMP][MLIR] Add new arguments to map_info to help support record type maps (#82851)

This PR adds two new fields to omp.map_info, one BoolAttr and one DenseIntElementsAttr.

The BoolAttr is named partial_map, and is a flag that indicates if the record type captured by the map_info operation is a partial map, or if it is mapped in its entirety, this currently helps the later lowering determine the type of map entries that need to be generated.

The DenseIntElementsAttr named members_index is intended to track the placement of each member map_info operations (and by extension mapped member variable) placement in the parent record type.
parent d34b199c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment