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 support for __atomic_thread_fence #725

Open
bcardosolopes opened this issue Jul 8, 2024 · 3 comments
Open

Add support for __atomic_thread_fence #725

bcardosolopes opened this issue Jul 8, 2024 · 3 comments
Assignees

Comments

@bcardosolopes
Copy link
Member

One example I just tried and crashes: __atomic_thread_fence(__ATOMIC_SEQ_CST);

@bcardosolopes
Copy link
Member Author

@dkolsen-pgi wanna grab this?

@dkolsen-pgi dkolsen-pgi self-assigned this Jul 8, 2024
@dkolsen-pgi
Copy link
Collaborator

Yes. I happened to notice earlier today during my atomic built-in testing that __atomic_thread_fence is not implemented at all in ClangIR.

@bcardosolopes
Copy link
Member Author

For consistency, we should also check __c11_atomic_thread_fence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants