Skip to content

Don't panic if the shift intrinsics receive out-of-range shifts #432

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 1 commit into from
Jul 30, 2021

Conversation

Amanieu
Copy link
Member

@Amanieu Amanieu commented Jul 29, 2021

LLVM sometimes emits calls with out-of-range shifts but then discards
the results. We should avoid panics in these cases.

cc rust-lang/rust#86063

LLVM sometimes emits calls with out-of-range shifts but then discards
the results. We should avoid panics in these cases.
@Amanieu Amanieu merged commit d71671b into rust-lang:master Jul 30, 2021
@Amanieu Amanieu deleted the shift-overflow branch July 30, 2021 16:49
tgross35 added a commit to tgross35/compiler-builtins that referenced this pull request Feb 24, 2025
Rename the `test-multiprecision` feature to `build-mpfr`, enable by default
# 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.

1 participant