[llvm-branch-commits] [flang] [MLIR][OpenMP] Add Lowering support for OpenMP custom mappers in map clause (PR #121001)
Akash Banerjee via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 28 07:16:05 PST 2025
================
@@ -970,6 +972,20 @@ void ClauseProcessor::processMapObjects(
}
}
+ if (!mapperIdName.empty()) {
+ if (mapperIdName == "default") {
+ auto &typeSpec = object.sym()->owner().IsDerivedType()
+ ? *object.sym()->owner().derivedTypeSpec()
+ : object.sym()->GetType()->derivedTypeSpec();
----------------
TIFitis wrote:
Yes, the `object.sym()` type is expected to be derivedType here. There is a check inside `derivedTypeSpec()` just in case.
https://github.com/llvm/llvm-project/pull/121001
More information about the llvm-branch-commits
mailing list