diff options
author | Sergio Afonso <safonsof@amd.com> | 2025-03-20 15:48:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-20 15:48:45 +0000 |
commit | b231f6f86237fc1a15377b4aad6cf9be4808d727 (patch) | |
tree | 99d024a532f48ca7d8d72da9a92c8ed47d00146a /clang/lib/Basic/FileManager.cpp | |
parent | eb77061a428c28e9297c7a35cdbe568811025b2b (diff) | |
download | llvm-b231f6f86237fc1a15377b4aad6cf9be4808d727.zip llvm-b231f6f86237fc1a15377b4aad6cf9be4808d727.tar.gz llvm-b231f6f86237fc1a15377b4aad6cf9be4808d727.tar.bz2 |
[MLIR][OpenMP] Improve omp.map.info verification (#132066)
This patch makes the `map_type` and `map_capture_type` arguments of the
`omp.map.info` operation required, which was already an invariant being
verified by its users via `verifyMapClause()`. This makes it clearer, as
getters no longer return misleading `std::optional` values.
Checks for the `mapper_id` argument are moved to a verifier for the
operation, rather than being checked by users.
Functionally NFC, but not marked as such due to a reordering of
arguments in the assembly format of `omp.map.info`.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions