diff options
author | Dale Johannesen <dalej@apple.com> | 2008-03-10 18:38:31 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-03-10 18:38:31 +0000 |
commit | 42d31b0783c2a8cbd37bad742e81d7141f12bd8e (patch) | |
tree | 290a32abd1bd29fe1b0b0743f8db43dde33584ec /llvm/test/CFrontend/2008-03-05-syncPtr.c | |
parent | 741f491d90549eb473e2f1f76e453dc635900cf2 (diff) | |
download | bcm5719-llvm-42d31b0783c2a8cbd37bad742e81d7141f12bd8e.tar.gz bcm5719-llvm-42d31b0783c2a8cbd37bad742e81d7141f12bd8e.zip |
The __sync primitives only work on x86 and alpha;
xfail this test elsewhere.
llvm-svn: 48164
Diffstat (limited to 'llvm/test/CFrontend/2008-03-05-syncPtr.c')
-rw-r--r-- | llvm/test/CFrontend/2008-03-05-syncPtr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CFrontend/2008-03-05-syncPtr.c b/llvm/test/CFrontend/2008-03-05-syncPtr.c index 6d5be5d5b83..b371c34e6b2 100644 --- a/llvm/test/CFrontend/2008-03-05-syncPtr.c +++ b/llvm/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); |