Skip to content

Quick support for calling extern c functions with Builtin vector types. #82225

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

@stephentyrone stephentyrone commented Jun 12, 2025

This gives us a means to use llvm's intrinsics that implement more niche SIMD instructions from the standard library, where we cannot use the C intrinsics headers from clang (because they're in the cpp module).

@stephentyrone
Copy link
Contributor Author

@swift-ci test

@stephentyrone
Copy link
Contributor Author

@swift-ci test

@stephentyrone
Copy link
Contributor Author

@swift-ci smoke test

1 similar comment
@stephentyrone
Copy link
Contributor Author

@swift-ci smoke test

@stephentyrone stephentyrone merged commit 1e02b3b into swiftlang:main Jun 17, 2025
3 of 5 checks passed
@stephentyrone stephentyrone deleted the builtin-vector-type-converter branch June 17, 2025 13:00
stephentyrone added a commit that referenced this pull request Jun 17, 2025
We want to be able to adopt
(#82225) in the stdlib without
breaking people building at desk with older toolchains, so let's add a
feature flag.
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