Skip to content

Conversation

@eeckstein
Copy link
Contributor

@eeckstein eeckstein commented Aug 1, 2024

Also add an instruction simplification for builtin "destroyArray": remove such builtins with trivial element types. This is need in order to use the Atomic struct from the Synchronization module. The implementation of Atomic uses UnsafeMutablePointer which calls this builtin.

Fixes #74407
rdar://131726837

@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein
Copy link
Contributor Author

@swift-ci benchmark

Copy link
Contributor

@Azoy Azoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@eeckstein eeckstein merged commit 926bd6c into swiftlang:main Aug 1, 2024
@eeckstein eeckstein deleted the fix-atomic-effects branch August 1, 2024 19:31
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.

@_noLocks doesn't work with Builtin.atomicload_{}

2 participants