[llvm-branch-commits] [flang] [Flang][OpenMP] Derived type explicit allocatable member mapping (PR #96266)

Kareem Ergawy via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 15 01:07:17 PDT 2024


================
@@ -51,21 +55,66 @@ class OMPMapInfoFinalizationPass
     : public fir::impl::OMPMapInfoFinalizationPassBase<
           OMPMapInfoFinalizationPass> {
 
-  void genDescriptorMemberMaps(mlir::omp::MapInfoOp op,
-                               fir::FirOpBuilder &builder,
-                               mlir::Operation *target) {
-    mlir::Location loc = op.getLoc();
-    mlir::Value descriptor = op.getVarPtr();
+  /// Small helper class tracking a members parent and its
----------------
ergawy wrote:

nit: no need to quantify the size of the helper class 😛.
```suggestion
  /// Tracks a member's parent and its
```

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


More information about the llvm-branch-commits mailing list