Skip to content

Avoid masking shift amounts #1268

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
merged 1 commit into from
Aug 23, 2022
Merged

Conversation

afonso360
Copy link
Contributor

Cranelift 0.87 now follows its own documentation regarding
shift amounts, and implicitly masks them if the arch requires it.

We need to wait for the 0.87 release before merging this.

@bjorn3
Copy link
Member

bjorn3 commented Aug 22, 2022

Updated to Cranelift 0.87.0 in bjorn3@b14c733. Can you please rebase?

Cranelift 0.87 now follows its own documentation regarding
shift amounts, and implicitly masks them if the arch requires it. [0]

[0]: bytecodealliance/wasmtime@0508932
@afonso360 afonso360 marked this pull request as ready for review August 22, 2022 20:02
@bjorn3 bjorn3 merged commit 156bda8 into rust-lang:master Aug 23, 2022
@bjorn3
Copy link
Member

bjorn3 commented Aug 23, 2022

Unfortunately this breaks the mir_overflow_off rustc test: https://github.com/bjorn3/rustc_codegen_cranelift/runs/7971362755?check_suite_focus=true#step:7:2904 Reverted in b1e9d2e to make CI pass again.

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