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

Introduce a temporary for discriminant value in MatchBranchSimplification #78191

Merged
merged 1 commit into from
Oct 25, 2020

Commits on Oct 21, 2020

  1. Introduce a temporary for discriminant value in MatchBranchSimplifica…

    …tion
    
    The optimization introduces additional uses of the discriminant operand, but
    does not ensure that it is still valid to evaluate it or that it still
    evaluates to the same value.
    
    Evaluate it once at original position, and store the result in a new temporary.
    tmiasko committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    a4dc92b View commit details
    Browse the repository at this point in the history