diff options
author | Kareem Ergawy <kareem.ergawy@amd.com> | 2024-11-28 05:15:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-28 05:15:33 +0100 |
commit | 2918a47f421b3d41eb54dbd8751c6e8df2adbe23 (patch) | |
tree | b065c3752e659010c342589d71e9c87f4d933c88 /llvm/lib | |
parent | 81f544d4659a96772c7e2ffed1bbe557993f4b34 (diff) | |
download | llvm-2918a47f421b3d41eb54dbd8751c6e8df2adbe23.zip llvm-2918a47f421b3d41eb54dbd8751c6e8df2adbe23.tar.gz llvm-2918a47f421b3d41eb54dbd8751c6e8df2adbe23.tar.bz2 |
[mlir][OpenMP] Annotate `private` vars with `map_idx` when needed (#116770)
This PR extends the MLIR representation for `omp.target` ops by adding a
`map_idx` to `private` vars. This annotation stores the index of the map
info operand corresponding to the private var. If the variable does not
have a map operand, the `map_idx` attribute is either not present at all
or its value is `-1`.
This makes matching the private variable to its map info op easier (see
https://github.com/llvm/llvm-project/pull/116576 for usage).
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions