[llvm-branch-commits] [flang] [llvm] [mlir] [OpenMP][MLIR] Modify OpenMP Dialect lowering to support attach mapping (PR #179023)
Sergio Afonso via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Apr 6 08:28:47 PDT 2026
================
@@ -4516,40 +4521,40 @@ convertClauseMapFlags(omp::ClauseMapFlags mlirFlags) {
llvm::omp::OpenMPOffloadMappingFlags mapType =
llvm::omp::OpenMPOffloadMappingFlags::OMP_MAP_NONE;
- if (mapTypeToBool(omp::ClauseMapFlags::to))
+ if (checkHasClauseMapFlag(mlirFlags, omp::ClauseMapFlags::to))
----------------
skatrak wrote:
It seems like there's a lambda in this function `mapTypeToBool` that is also reimplementing the same thing.
https://github.com/llvm/llvm-project/pull/179023
More information about the llvm-branch-commits
mailing list