Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 64bit atomic check in the is_always_lock_free_pass test. #111540

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

simpal01
Copy link
Contributor

@simpal01 simpal01 commented Oct 8, 2024

Currently this test is completely xfailed as part of the patch #106077. But this test works on A and R profile, not in v7M profile. Because the test contain cases in which m-profile will fail for atomic types greater than 4 bytes in size.

Currently this test is completely xfailed. But this test works
on A and R profile, not in v7M profile. Because the test contain
cases in which  m-profile will fail for atomic types greater than
4 bytes in size.
@simpal01 simpal01 requested a review from a team as a code owner October 8, 2024 14:55
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Oct 8, 2024
@simpal01 simpal01 requested a review from ldionne October 8, 2024 14:56
@llvmbot
Copy link
Collaborator

llvmbot commented Oct 8, 2024

@llvm/pr-subscribers-libcxx

Author: None (simpal01)

Changes

Currently this test is completely xfailed as part of the patch #106077. But this test works on A and R profile, not in v7M profile. Because the test contain cases in which m-profile will fail for atomic types greater than 4 bytes in size.


Full diff: https://github.com/llvm/llvm-project/pull/111540.diff

1 Files Affected:

  • (modified) libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp (+1-1)
diff --git a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
index 1ebe31375079b8..e922bc7413514a 100644
--- a/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
+++ b/libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 // UNSUPPORTED: c++03, c++11, c++14
-// XFAIL: LIBCXX-PICOLIBC-FIXME
+// XFAIL: !has-64-bit-atomics
 
 // <atomic>
 //

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants