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
This commit is contained in:
Dale Johannesen 2008-03-10 18:38:31 +00:00
parent 3e030e41ae
commit 9faa255740

View File

@ -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);