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

Skip beam_ssa_alias for modules with huge functions #7672

Merged

Commits on Sep 25, 2023

  1. Skip beam_ssa_alias for modules with huge functions

    The implementation of the `beam_ssa_alias` pass in OTP 26 can become
    extremly slow for modules containing huge functions. The `master`
    branch (for the OTP 27 release next year) already contains a much
    better implementation that handles huge functions. That implementation
    is also very different, so we don't want to back-port it to OTP 26.
    
    To make the compiler in OTP 26 usable for huge functions, add a
    heuristic that disables the alias analysis pass for functions
    exceeding a certain number of blocks.
    
    Fixes erlang#7667
    bjorng committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    4d7939b View commit details
    Browse the repository at this point in the history