diff options
author | Jake Egan <Jake.egan@ibm.com> | 2024-06-07 11:06:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 11:06:42 -0400 |
commit | 790992dd4018f55479a2c53a79088cb37710c85b (patch) | |
tree | a43f49ec18570e340f0a8ed89f736bdf378b0f8f /libcxx/test | |
parent | b25b1db8199d86cb3645e92200cda8d5d30922d0 (diff) | |
download | llvm-790992dd4018f55479a2c53a79088cb37710c85b.zip llvm-790992dd4018f55479a2c53a79088cb37710c85b.tar.gz llvm-790992dd4018f55479a2c53a79088cb37710c85b.tar.bz2 |
[libc++][test][AIX] Only XFAIL atomic tests for before clang 19 (#94646)
These tests pass on 64-bit. They were fixed by 5fdd094837c6 on 32-bit.
So XFAIL only for 32-bit before clang 19.
Diffstat (limited to 'libcxx/test')
4 files changed, 16 insertions, 4 deletions
diff --git a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp index 7350c1d..40a475e 100644 --- a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp +++ b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp @@ -6,9 +6,12 @@ // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14, c++17 -// UNSUPPORTED: LIBCXX-AIX-FIXME // XFAIL: !has-64-bit-atomics +// Older versions of clang have a bug with atomic builtins affecting double and long double. +// Fixed by 5fdd0948. +// XFAIL: target=powerpc-ibm-{{.*}} && (clang-17 || clang-18) + // https://github.com/llvm/llvm-project/issues/72893 // XFAIL: target={{x86_64-.*}} && tsan diff --git a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp index 84dcde5..9e798a2 100644 --- a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp +++ b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp @@ -6,9 +6,12 @@ // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14, c++17 -// UNSUPPORTED: LIBCXX-AIX-FIXME // XFAIL: !has-64-bit-atomics +// Older versions of clang have a bug with atomic builtins affecting double and long double. +// Fixed by 5fdd0948. +// XFAIL: target=powerpc-ibm-{{.*}} && (clang-17 || clang-18) + // https://github.com/llvm/llvm-project/issues/72893 // XFAIL: target={{x86_64-.*}} && tsan diff --git a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp index 386a393..732bd4d 100644 --- a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp +++ b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp @@ -6,9 +6,12 @@ // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14, c++17 -// UNSUPPORTED: LIBCXX-AIX-FIXME // XFAIL: !has-64-bit-atomics +// Older versions of clang have a bug with atomic builtins affecting double and long double. +// Fixed by 5fdd0948. +// XFAIL: target=powerpc-ibm-{{.*}} && (clang-17 || clang-18) + // floating-point-type operator-=(floating-point-type) volatile noexcept; // floating-point-type operator-=(floating-point-type) noexcept; diff --git a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp index afd06d5..1821aca 100644 --- a/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp +++ b/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp @@ -6,9 +6,12 @@ // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14, c++17 -// UNSUPPORTED: LIBCXX-AIX-FIXME // XFAIL: !has-64-bit-atomics +// Older versions of clang have a bug with atomic builtins affecting double and long double. +// Fixed by 5fdd0948. +// XFAIL: target=powerpc-ibm-{{.*}} && (clang-17 || clang-18) + // floating-point-type operator+=(floating-point-type) volatile noexcept; // floating-point-type operator+=(floating-point-type) noexcept; |