================
@@ -2709,13 +2709,23 @@ getRefPtrIfDeclareTarget(mlir::Value value,
 }
 
 namespace {
+// Append customMappers information to existing MapInfosTy
+struct MapInfosTy : llvm::OpenMPIRBuilder::MapInfosTy {
+  SmallVector<Operation *, 4> Mappers;
----------------
ergawy wrote:

I understand we cannot merge all of this into 
`llvm::OpenMPIRBuilder::MapInfosTy`. I am talking about the new struct 
`MapInfosTy` that sets in between `llvm::OpenMPIRBuilder::MapInfosTy` and 
`MapInfoData`. I think we can make this new struct and `MapInfoData` one struct 
and use it in this file. I gave it a try and should be fine.

https://github.com/llvm/llvm-project/pull/124746
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to