The __sync primitives only work on x86 and alpha;

xfail this test elsewhere.

llvm-svn: 48164
This commit is contained in:
Dale Johannesen 2008-03-10 18:38:31 +00:00
parent 659c71126e
commit 6713367062

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