[all-commits] [llvm/llvm-project] ff1f4b: [OpenMP][MLIR] Add new arguments to map_info to he...
agozillon via All-commits
all-commits at lists.llvm.org
Fri May 10 11:06:58 PDT 2024
Branch: refs/heads/users/agozillon/main.openmpmlir-add-new-arguments-to-map_info-to-help-support-record-type-maps
Home: https://github.com/llvm/llvm-project
Commit: ff1f4bf618cca2263629b528eb87c936873f7b5a
https://github.com/llvm/llvm-project/commit/ff1f4bf618cca2263629b528eb87c936873f7b5a
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list