commit | a4b2a4a9ac63790a6f27f0cdbc0ae1c472d27f60 | [log] [tgz] |
---|---|---|
author | Andrew Gozillon <Andrew.Gozillon@amd.com> | Mon Feb 12 10:20:30 2024 -0600 |
committer | Copybara-Service <copybara-worker@google.com> | Fri May 10 12:22:00 2024 -0700 |
tree | 2aeac7b8fcd9701b2c891a563f4b93e666b4c858 | |
parent | a9ef0b960f83cadd083bb616724d085dd2d9d317 [diff] |
[OpenMP][MLIR] Add new arguments to map_info to help support record type maps This PR adds two new fields to omp.map_info, one BoolAttr and one I64ArrayAttr. 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 I64ArrayAttr 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. This may need to be extended to an N-D array for nested member mapping. Pull Request: https://github.com/llvm/llvm-project/pull/82851 GitOrigin-RevId: 50df0ff515697090983b3cb951c48377bcfb6ddf
See https://mlir.llvm.org/ for more information.