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

[clangsa] write a checker for implicit seq_cst atomics #42323

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Sep 20, 2021

Prior to #42152, some of these were too weakly ordered, now many are too strongly ordered. But slowly we get closer to our goal. This adds a checker that prohibits reading or writing to an atomic without explicitly specifying the memory ordering. In principle, that also makes it much closer to our Julia atomics model.

and ensure we are using relaxed for single-threaded reader/writer
@JeffBezanson JeffBezanson merged commit a8be283 into master Sep 23, 2021
@JeffBezanson JeffBezanson deleted the jn/static-analysis-implicit-atomics branch September 23, 2021 18:27
KristofferC pushed a commit that referenced this pull request Sep 28, 2021
and ensure we are using relaxed for single-threaded reader/writer
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
and ensure we are using relaxed for single-threaded reader/writer
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
and ensure we are using relaxed for single-threaded reader/writer
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

Successfully merging this pull request may close these issues.

2 participants