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

Simplify transmutes in MIR InstCombine #109612

Merged
merged 1 commit into from
Mar 29, 2023

Commits on Mar 29, 2023

  1. Simplify transmutes in MIR InstCombine

    Thanks to the combination of rust-lang#108246 and rust-lang#108442 it could already remove identity transmutes.
    
    With this PR, it can also simplify them to `IntToInt` casts, `Discriminant` reads, or `Field` projections.
    scottmcm committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    f20af8d View commit details
    Browse the repository at this point in the history