aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-03-10 18:38:31 +0000
committerDale Johannesen <dalej@apple.com>2008-03-10 18:38:31 +0000
commit9faa255740a318eeb8886f06d1caeb2821c4ef88 (patch)
tree7b75a01d9d4f379458c8ccd7d8334b97881ff1b4
parent3e030e41ae85750edbcea53305f5f9c0c4e09549 (diff)
The __sync primitives only work on x86 and alpha;
xfail this test elsewhere. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48164 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/2008-03-05-syncPtr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CFrontend/2008-03-05-syncPtr.c b/test/CFrontend/2008-03-05-syncPtr.c
index 6d5be5d5b8..b371c34e6b 100644
--- a/test/CFrontend/2008-03-05-syncPtr.c
+++ b/test/CFrontend/2008-03-05-syncPtr.c
@@ -1,4 +1,6 @@
// RUN: %llvmgcc %s -S -emit-llvm -o - | grep llvm.atomic
+// XFAIL: powerpc|sparc-sun-solaris2|arm|ia64
+// Feature currently implemented only for x86 and alpha.
int* foo(int** a, int* b, int* c) {
return __sync_val_compare_and_swap (a, b, c);