[flang-commits] [flang] b588ad8 - [Flang][tests] Add a missing REQUIRES. (#198753)

via flang-commits flang-commits at lists.llvm.org
Wed May 20 05:23:39 PDT 2026


Author: Simon Tatham
Date: 2026-05-20T13:23:34+01:00
New Revision: b588ad80236770822c1f815fdabaf6a9e4d53b09

URL: https://github.com/llvm/llvm-project/commit/b588ad80236770822c1f815fdabaf6a9e4d53b09
DIFF: https://github.com/llvm/llvm-project/commit/b588ad80236770822c1f815fdabaf6a9e4d53b09.diff

LOG: [Flang][tests] Add a missing REQUIRES. (#198753)

A newly added test uses `x86_64-unknown-linux-gnu` as a triple, without
a `REQUIRES: x86-registered-target` line, so that it will fail in builds
of LLVM specific to other architectures.

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 6c10f4868b6e2..247f79d243c83 100644
--- a/flang/test/Integration/OpenMP/atomic-compare.f90
+++ b/flang/test/Integration/OpenMP/atomic-compare.f90
@@ -6,6 +6,7 @@
 ! 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
 
 ! Int "==" → cmpxchg, default (monotonic) ordering


        


More information about the flang-commits mailing list