Skip to content

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented Sep 15, 2023

This adds a new compilation conditional that returns the maximum bit width supported for atomic operations for the compiling architecture.

@Azoy
Copy link
Contributor Author

Azoy commented Sep 15, 2023

@swift-ci please test

@xedin xedin removed their request for review September 15, 2023 14:44
@Azoy Azoy force-pushed the maxAtomicInlineWidth branch from f2404f5 to 873d99c Compare September 29, 2023 16:17
@Azoy
Copy link
Contributor Author

Azoy commented Sep 29, 2023

@swift-ci please test

@Azoy Azoy requested a review from stephentyrone September 29, 2023 16:17
@Azoy Azoy changed the title [IRGen] Add Builtin.getMaxAtomicInlineWidth() [AST] Add #if _atomicBitWidth as a valid compilation conditional Sep 29, 2023
@Azoy Azoy force-pushed the maxAtomicInlineWidth branch from 873d99c to a3f4361 Compare September 29, 2023 21:43
@Azoy
Copy link
Contributor Author

Azoy commented Sep 29, 2023

@swift-ci please test

@Azoy Azoy merged commit f58aa07 into swiftlang:main Sep 30, 2023
@Azoy Azoy deleted the maxAtomicInlineWidth branch September 30, 2023 19:34
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.

1 participant