[flang-commits] [flang] [flang][Lower] Add lowering to SYNC ALL, SYNC MEMORY and SYNC IMAGES to PRIF (PR #154166)

Dan Bonachea via flang-commits flang-commits at lists.llvm.org
Thu Aug 21 18:07:13 PDT 2025


================
@@ -0,0 +1,62 @@
+! RUN: %flang_fc1 -emit-hlfir -fcoarray %s -o - | FileCheck %s --check-prefixes=COARRAY
+! RUN: not %flang_fc1 -emit-hlfir %s 2>&1 | FileCheck %s --check-prefixes=NOCOARRAY
+
+program test_sync_images
+  implicit none
+  ! NOCOARRAY: Coarrays disabled, use '-fcoarray' to enable.
----------------
bonachea wrote:

```suggestion
  ! NOCOARRAY: Multi-image features are disabled, use '-fcoarray' to enable.
```

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


More information about the flang-commits mailing list