aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSergio Afonso <safonsof@amd.com>2025-03-20 15:48:45 +0000
committerGitHub <noreply@github.com>2025-03-20 15:48:45 +0000
commitb231f6f86237fc1a15377b4aad6cf9be4808d727 (patch)
tree99d024a532f48ca7d8d72da9a92c8ed47d00146a /clang/lib/CodeGen/CodeGenModule.cpp
parenteb77061a428c28e9297c7a35cdbe568811025b2b (diff)
downloadllvm-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/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions