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 variable debuginfo being optimized away at mir-opt-level=2 #103657

Closed

Commits on Oct 27, 2022

  1. Add test case

    wesleywiser committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    bebe274 View commit details
    Browse the repository at this point in the history
  2. Fix variable debuginfo being optimized away at mir-opt-level=2

    The `DeadStoreElmination` pass was removing the uses of these locals
    because the are never used in the MIR body except for debuginfo. I've
    updated the pass to consider locals referenced by debuginfo as always
    alive unless a higher MIR opt level is requested by the user.
    wesleywiser committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    daf2968 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. Configuration menu
    Copy the full SHA
    51d5932 View commit details
    Browse the repository at this point in the history