Skip to content

Generate constant Neon vectors within a const block #1503

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

GeorgeWort
Copy link
Contributor

This allows the constant vector to be passed directly to LLVM which fixes a few issues where the LLVM intrinsic expects a constant vector.

This relies on rust-lang/rust#118171 to be useful

@rustbot
Copy link
Collaborator

rustbot commented Nov 22, 2023

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.

@Amanieu
Copy link
Member

Amanieu commented Nov 22, 2023

LGTM! Let me know when rust-lang/rust#118171 is merged and the nightly has been bumped so I can merge this.

@Amanieu
Copy link
Member

Amanieu commented Nov 30, 2023

CI should be fixed, can you rebase?

@Amanieu
Copy link
Member

Amanieu commented Nov 30, 2023

Oh nevermind, we're still waiting on rust-lang/rust#118171.

@bors
Copy link
Contributor

bors commented Nov 30, 2023

☔ The latest upstream changes (presumably 5a748ec) made this pull request unmergeable. Please resolve the merge conflicts.

@GeorgeWort GeorgeWort force-pushed the consts branch 2 times, most recently from bb25872 to d9d6cb8 Compare December 15, 2023 14:13
@GeorgeWort
Copy link
Contributor Author

I have added the use of #[rustc_intrinsic_const_vector_arg] following discussion on rust-lang/rust#118209.

@bors
Copy link
Contributor

bors commented Feb 29, 2024

☔ The latest upstream changes (presumably 6d0479d) made this pull request unmergeable. Please resolve the merge conflicts.

This allows the constant vector to be passed directly
to LLVM which fixes a few issues where the LLVM intrinsic
expects a constant vector.
formatting

remove comma

put back square brackets
@Amanieu Amanieu merged commit ee3c01e into rust-lang:master Aug 21, 2024
31 checks passed
@davidtwco davidtwco mentioned this pull request Nov 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants