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

JIT: extend redundant branch opt to catch partially redundant cases #49713

Closed

Commits on Mar 16, 2021

  1. JIT: extend redundant branch opt to catch partially redundant cases

    If the current relop has PHI inputs, see if any of those inputs would
    produce the same relop VN as a dominating compare; if so the current
    relop is partially redundant, and we may be able to optimize some of
    the paths through the relop block via jump threading.
    
    Addresses cases like the one seen in dotnet#48115, though that particular
    case is not optimized as the current relop block has a side effect.
    AndyAyersMS committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    647d10b View commit details
    Browse the repository at this point in the history