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

rustc_mir_transform: Make DestinationPropagation stable for queries #119591

Merged
merged 1 commit into from
Jan 6, 2024

Commits on Jan 5, 2024

  1. rustc_mir_transform: Make DestinationPropagation stable for queries

    By using FxIndexMap instead of FxHashMap, so that the order of visiting
    of locals is deterministic.
    
    We also need to bless
    copy_propagation_arg.foo.DestinationPropagation.panic*.diff. Do not
    review the diff of the diff. Instead look at the diff file before and
    after this commit. Both before and after this commit, 3 statements are
    replaced with nop. It's just that due to change in ordering, different
    statements are replaced. But the net result is the same.
    Enselic committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    95eb5bc View commit details
    Browse the repository at this point in the history