[flang-commits] [flang] [llvm] [flang-rt] Add Assign_omp RT call. (PR #145465)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Wed Aug 6 10:11:53 PDT 2025


================
@@ -21,6 +21,7 @@ set(supported_sources
   allocatable.cpp
   array-constructor.cpp
   assign.cpp
+  assign_omp.cpp
----------------
mjklemm wrote:

I see two options:

- Use the CFI of Fortran to access the descriptor.  It will sort of tie the OpenMP runtime to the Fortran runtime, but it will do so in an ISO-conforming way.
- Unpack the descriptor in the code-gen for the assign operation.  It might be prudent to provide an accessor function for getting the pointers and size information from the descriptor. 

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


More information about the flang-commits mailing list