[Openmp-commits] [flang] [openmp] [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 Dec 1 03:18:13 PST 2023

agozillon wrote:

Updated the PR to use the new box_offset operation and removed most of (the part that could be the descriptor type needs specialised lowering) the OpenMP CodeGen for map_info and replaced it with a PFT -> MLIR level lowering. 

I believe there is also now some assumed-shape tests in here, but I am happy to add more if desired! If anyone can recommend a good test that'd show-case/test the addendum mapping I'd be much appreciated, I'm not sure of the Fortran cases where addendums would be generated and then used within a target region. 

The extent code from this PR: https://github.com/llvm/llvm-project/pull/73790 is currently in this patch as well (as it's dependent on it) to aid the buildbot, but I'll rebase on it once it's committed and it should remove the replication across the PRs (mostly OpenACC test changes).

I have moved the scalar alloca assign test into failing but kept it in the patch for now. I'll add a further comment on the test for some input on the issue (I looked into it a fair bit but couldn't quite track down the exact problem). I'll also update the PR description. 


More information about the Openmp-commits mailing list