[llvm-branch-commits] [flang] [mlir] [Flang][MLIR][OpenMP] Add distinct var_ptr_ptr_type to omp.map.info operations (PR #177302)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Mar 3 12:45:59 PST 2026


================
@@ -909,8 +917,9 @@ class MapInfoFinalizationPass
         builder.loadIfRef(op->getLoc(), baseAddr.getVarPtrPtr());
     mlir::omp::MapInfoOp newBaseAddrMapOp = mlir::omp::MapInfoOp::create(
         builder, op->getLoc(), loadBaseAddr.getType(), loadBaseAddr,
-        baseAddr.getVarTypeAttr(), baseAddr.getMapTypeAttr(),
-        baseAddr.getMapCaptureTypeAttr(), mlir::Value{}, members, membersAttr,
+        baseAddr.getVarPtrPtrTypeAttr(), baseAddr.getMapTypeAttr(),
----------------
agozillon wrote:

It's correct I believe, but I'll remove the old now outdated comment and add a new one :-) 

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


More information about the llvm-branch-commits mailing list