[flang-commits] [flang] [flang] Add support of THIS_IMAGE and NUM_IMAGES with PRIF (PR #154081)
Jean-Didier PAILLEUX via flang-commits
flang-commits at lists.llvm.org
Mon Aug 18 23:06:59 PDT 2025
================
@@ -0,0 +1,14 @@
+! RUN: %flang_fc1 -emit-hlfir -fcoarray %s -o - | FileCheck %s
+
+program test
+ use iso_fortran_env
+ integer :: i
+ type(team_type) :: team
+
+ ! CHECK: fir.call @_QMprifPprif_this_image
----------------
JDPailleux wrote:
@ktras Sorry, I forgot the suffix on the first test call. But yes, it is indeed `prif_this_image_no_coarray`.
https://github.com/llvm/llvm-project/pull/154081
More information about the flang-commits
mailing list