[llvm-branch-commits] [flang] [Flang][OpenMP][Offload] Modify MapInfoFinalization to handle attach mapping and 6.1's ref_* and attach map keywords (PR #177715)
Sergio Afonso via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 28 05:33:19 PDT 2026
================
@@ -496,6 +734,48 @@ class MapInfoFinalizationPass
return false;
}
+ [[maybe_unused]] mlir::Operation *genImplicitAttachMap(
+ mlir::omp::MapInfoOp descMapOp, mlir::Value descriptor,
+ llvm::SmallVectorImpl<ParentAndPlacement> &mapMemberUsers,
+ mlir::Operation *target, fir::FirOpBuilder &builder,
+ mlir::omp::ClauseMapFlags refFlagType, bool isAttachAlways = false,
+ mlir::Value reuseBaseAddr = mlir::Value{}) {
+ auto baseAddrAddr =
----------------
skatrak wrote:
Ah, thanks. Then you can keep it whichever way expresses better what it is.
https://github.com/llvm/llvm-project/pull/177715
More information about the llvm-branch-commits
mailing list