[flang-commits] [flang] [llvm] [Flang][OpenMP] Initial defaultmap implementation (PR #135226)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Wed Apr 30 08:32:24 PDT 2025
================
@@ -2272,6 +2276,129 @@ genTargetOp(lower::AbstractConverter &converter, lower::SymMap &symTable,
return size <= ptrSize && align <= ptrAlign;
};
+ auto getDefaultmapIfPresent = [&](mlir::Type varType) {
----------------
skatrak wrote:
Nit: This and `getImplicitMapTypeAndKind` below are probably better as `static` functions rather than lambdas, to help with readability.
https://github.com/llvm/llvm-project/pull/135226
More information about the flang-commits
mailing list