[flang-commits] [flang] 243cb25 - [flang][OpenMP] Make the atomic-compare test run on aarch64 too (#198849)
via flang-commits
flang-commits at lists.llvm.org
Thu May 21 08:33:33 PDT 2026
Author: Tom Eccles
Date: 2026-05-21T16:33:27+01:00
New Revision: 243cb25fc005f0bee07eddd60f6900d4ac0d1b3b
URL: https://github.com/llvm/llvm-project/commit/243cb25fc005f0bee07eddd60f6900d4ac0d1b3b
DIFF: https://github.com/llvm/llvm-project/commit/243cb25fc005f0bee07eddd60f6900d4ac0d1b3b.diff
LOG: [flang][OpenMP] Make the atomic-compare test run on aarch64 too (#198849)
Added:
Modified:
flang/test/Integration/OpenMP/atomic-compare.f90
Removed:
################################################################################
diff --git a/flang/test/Integration/OpenMP/atomic-compare.f90 b/flang/test/Integration/OpenMP/atomic-compare.f90
index 247f79d243c83..7a30223ad1e73 100644
--- a/flang/test/Integration/OpenMP/atomic-compare.f90
+++ b/flang/test/Integration/OpenMP/atomic-compare.f90
@@ -6,8 +6,8 @@
! added to this directory and sub-directories.
!===----------------------------------------------------------------------===!
-!REQUIRES: x86-registered-target
-!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 %}
! Int "==" → cmpxchg, default (monotonic) ordering
!CHECK-LABEL: define void @atomic_compare_integer_(
More information about the flang-commits
mailing list