From: Dale Johannesen Date: Mon, 10 Mar 2008 18:38:31 +0000 (+0000) Subject: The __sync primitives only work on x86 and alpha; X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9faa255740a318eeb8886f06d1caeb2821c4ef88;p=oota-llvm.git 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 --- diff --git a/test/CFrontend/2008-03-05-syncPtr.c b/test/CFrontend/2008-03-05-syncPtr.c index 6d5be5d5b83..b371c34e6b2 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);