Skip to content
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

Fix handling of large branch values in cranelift_frontend::Switch #8422

Merged
merged 1 commit into from
Apr 21, 2024

Commits on Apr 20, 2024

  1. Fix handling of large branch values in cranelift_frontend::Switch

    Previously trying to branch on a i128 with a branch value larger than
    i64::MAX after truncating to u64 would result in the branch value incorrectly
    getting interpreted as a value with the upper 64 bits being 1 rather than 0.
    bjorn3 committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    6abf0fd View commit details
    Browse the repository at this point in the history