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

Optimize switch sources representation and usage #96838

Merged
merged 2 commits into from
May 10, 2022

Commits on May 8, 2022

  1. Avoid constructing switch sources unless necessary

    Switch sources are used by backward analysis with a custom switch int
    edge effects, but are otherwise unnecessarily computed.
    
    Delay the computation until we know that switch sources are indeed
    required and avoid the computation otherwise.
    tmiasko committed May 8, 2022
    Configuration menu
    Copy the full SHA
    fbc3cc1 View commit details
    Browse the repository at this point in the history
  2. Use sparse representation of switch sources

    to avoid quadratic space overhead
    tmiasko committed May 8, 2022
    Configuration menu
    Copy the full SHA
    2be012a View commit details
    Browse the repository at this point in the history