[llvm-branch-commits] [flang] [Flang][OpenMP] - When mapping a `fir.boxchar`, map the underlying data pointer as a member (PR #141715)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jun 3 14:12:53 PDT 2025


================
@@ -285,6 +285,62 @@ class MapInfoFinalizationPass
     return false;
   }
 
+  mlir::omp::MapInfoOp genBoxcharMemberMap(mlir::omp::MapInfoOp op,
----------------
agozillon wrote:

Probably a dumb question, but wouldn't this and the related walk already be handled by the larger: `genDescriptorMemberMaps` function? In theory it should be able to handle the expansion for all cases, I would imagine it'd need some tweaking in-cases where we assume BaseBoxType/BoxType though.

https://github.com/llvm/llvm-project/pull/141715


More information about the llvm-branch-commits mailing list