Skip to content

Make Float16 unavailable on macOS and macCatalyst, as in Apple Swift #32868

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

Merged

Conversation

stephentyrone
Copy link
Contributor

LLVM doesn't have a stable ABI for Float16 on x86 yet; I've asked Intel to take a look at that, but we don't want to make the type available on macOS until a stable ABI is actually available, because we'd break binaries compiled before any calling convention changes if we do.

Note that the calling conventions are stable for Float16 on Apple Silicon. So the type should eventually be made available on macOS for Apple Silicon even if we never get stable calling conventions on x86, but it will simplify everything if we just mark the type unavailable in the short term on macOS.

@stephentyrone
Copy link
Contributor Author

@swift-ci please test

@stephentyrone stephentyrone requested a review from lorentey July 14, 2020 03:28
@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 50ae0c25b6a3783423d87b1ed89341bfe5d4724b

…Swift.

LLVM doesn't have a stable ABI for Float16 on x86 yet; we're working with Intel to get that fixed, but we don't want to make the type available on macOS until a stable ABI is actually available, because we'd break binaries compiled before any calling convention changes if we do.
@stephentyrone stephentyrone force-pushed the float16-unavailable-on-mac branch from 50ae0c2 to 735a1e7 Compare July 14, 2020 13:59
@stephentyrone
Copy link
Contributor Author

@swift-ci test

@swiftlang swiftlang deleted a comment from swift-ci Jul 14, 2020
@swiftlang swiftlang deleted a comment from swift-ci Jul 14, 2020
@stephentyrone stephentyrone merged commit 103961a into swiftlang:master Jul 15, 2020
@stephentyrone stephentyrone deleted the float16-unavailable-on-mac branch July 15, 2020 00:42
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.

4 participants