[libcxx-commits] [libcxx] [libc++] Simplify features for detecting atomics' support. (PR #75553)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 29 08:57:53 PST 2024


================
@@ -6,7 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// XFAIL: !non-lockfree-atomics
+// XFAIL: !has-64-bit-atomics
----------------
ldionne wrote:

I think those need to be `!has-128-bit-atomics` since they instantiate `atomic<LargeUserAtomicType>`, which contains `int [128]` -- that's larger than 64 bits. It's also larger than 128 bits but the check should work for both, I think.

https://github.com/llvm/llvm-project/pull/75553


More information about the libcxx-commits mailing list