[Openmp-commits] [flang] [mlir] [openmp] [Flang][OpenMP] Add support for interop construct (PR #203959)

Sairudra More via Openmp-commits openmp-commits at lists.llvm.org
Fri Jul 3 00:03:57 PDT 2026


================
@@ -218,6 +222,28 @@
 
         integer (kind=omp_interop_kind), parameter, public :: omp_interop_none = 0
 
+!       interop property constants
+        integer (kind=omp_interop_property_kind), parameter, public :: omp_ipr_fr_id = -1
----------------
Saieiei wrote:

Could the matching fixed-form include file be updated as well?

This PR adds the new interop kinds, constants, and query-routine interfaces to `omp_lib.F90.var`, but not to `omp_lib.h.var`. Since `omp_lib.h.var` is configured separately into the shipped `omp_lib.h`, fixed-form users using:

```fortran
include 'omp_lib.h'
```

would not see the new `omp_ipr_*`, `omp_irc_*`, `omp_interop_property_kind`, `omp_interop_rc_kind`, or the new interop query routines.


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


More information about the Openmp-commits mailing list