[compiler-rt] [compiler-rt][tests] Disable a test case unsupported on AArch64 (PR #117628)

Paul Osmialowski via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 12:56:14 PST 2024


https://github.com/pawosm-arm created https://github.com/llvm/llvm-project/pull/117628

See also D92832 and GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878

>From d045c3074f87b3fdd14c81515025e61c0c62cd12 Mon Sep 17 00:00:00 2001
From: Paul Osmialowski <pawel.osmialowski at arm.com>
Date: Mon, 25 Nov 2024 20:44:44 +0000
Subject: [PATCH] [compiler-rt][tests] Disable a test case unsupported on
 AArch64

See also D92832 and GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878
---
 compiler-rt/test/builtins/Unit/atomic_test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler-rt/test/builtins/Unit/atomic_test.c b/compiler-rt/test/builtins/Unit/atomic_test.c
index f8281f36493793..999f51c554d680 100644
--- a/compiler-rt/test/builtins/Unit/atomic_test.c
+++ b/compiler-rt/test/builtins/Unit/atomic_test.c
@@ -1,5 +1,6 @@
 // RUN: %clang_builtins %s %librt -o %t && %run %t
 // REQUIRES: librt_has_atomic
+// UNSUPPORTED: target=aarch64{{.*}}
 //===-- atomic_test.c - Test support functions for atomic operations ------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.



More information about the llvm-commits mailing list