[flang-commits] [flang] [flang][OpenMP] Restricting Integration test atomic-capture-release.f90 run to x86 and aarch64 (PR #200770)
via flang-commits
flang-commits at lists.llvm.org
Mon Jun 1 03:08:55 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-openmp
Author: SunilKuravinakop
<details>
<summary>Changes</summary>
Similar to the the change in `flang/test/Integration/OpenMP/atomic-compare.f90`, restricting the test case `flang/test/Integration/OpenMP/atomic-capture-release.f90` to run on
`x86-registered-target & aarch64-registered-target`
This also Fixes [#<!-- -->200729](https://github.com/llvm/llvm-project/issues/200729)
---
Full diff: https://github.com/llvm/llvm-project/pull/200770.diff
1 Files Affected:
- (modified) flang/test/Integration/OpenMP/atomic-capture-release.f90 (+2-1)
``````````diff
diff --git a/flang/test/Integration/OpenMP/atomic-capture-release.f90 b/flang/test/Integration/OpenMP/atomic-capture-release.f90
index 872d7b1394e36..d0090f7e6ee02 100644
--- a/flang/test/Integration/OpenMP/atomic-capture-release.f90
+++ b/flang/test/Integration/OpenMP/atomic-capture-release.f90
@@ -6,7 +6,8 @@
! added to this directory and sub-directories.
!===----------------------------------------------------------------------===!
-!RUN: %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fopenmp -fopenmp-version=51 %s -o - | FileCheck %s
+!RUN: %if x86-registered-target %{ %flang_fc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fopenmp -fopenmp-version=51 %s -o - | FileCheck %s %}
+!RUN: %if aarch64-registered-target %{ %flang_fc1 -triple aarch64-unknown-linux-gnu -emit-llvm -fopenmp -fopenmp-version=51 %s -o - | FileCheck %s %}
! Real(4) capture with release ordering: the initial load in the cmpxchg loop
! must use monotonic (not release, which is invalid for loads in LLVM IR).
``````````
</details>
https://github.com/llvm/llvm-project/pull/200770
More information about the flang-commits
mailing list