[Openmp-commits] [openmp] [flang] [mlir] [Flang][OpenMP] Initial mapping of Fortran pointers and allocatables for target devices (PR #71766)

via Openmp-commits openmp-commits at lists.llvm.org
Fri Jan 5 07:44:38 PST 2024


agozillon wrote:

Updated the PR to utilise a pass "OMPDescriptorMapInfoGenPass" which will expand the mapping of descriptor types into multiple maps (one for the parent descriptor and contained data pointer currently, and in the future perhaps the addendum when required), it will insert these newly generated maps into the map owning operation and in the case of TargetOp it inserts them into the BlockArg list. I also added an MLIR interface to allow easy access to these map operands for map owning operations. This simplifies the code inside of Lower/OpenMP.cpp and the OpenMPToLLVMIRTranslation.cpp a little bit. 

I also added a document which describes the current lowering process a little bit and the idea behind it. 

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


More information about the Openmp-commits mailing list