[flang-commits] [flang] [llvm] [Flang][OpenMP] Avoid aborting on nested derived types in DO CONCURRENT device conversion (PR #218963)

via flang-commits flang-commits at lists.llvm.org
Thu Sep 3 22:21:57 PDT 2026


================
@@ -0,0 +1,50 @@
+! Verifies that `do concurrent` correctly lowers map for basic nested derived
+! types, correctly mapping the required components of the derived type.
+! REQUIRES: flang, amdgpu
+
+! RUN: %libomptarget-compile-fortran-generic -fdo-concurrent-to-openmp=device
+! RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic
----------------
MattPD wrote:

This test can pass under host fallback. I ran this exact executable with `OMP_TARGET_OFFLOAD=DISABLED`, and the submitted FileCheck patterns still matched. The other DO CONCURRENT offload tests enable `LIBOMPTARGET_INFO=16` and check a `PluginInterface ... Launching kernel` line. Could this test assert a launch for each target region, or use another device-only observable?


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


More information about the flang-commits mailing list