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 poisoning for very large structs #61521

Merged
merged 2 commits into from
Nov 16, 2021

Commits on Nov 15, 2021

  1. Fix poisoning for very large structs

    For very large structs poisoning could end up generating instructions
    requiring larger local var offsets than we can handle which would hit an
    IMPL_LIMIT that throws InvalidProgramException. Switch to using rep
    stosd (x86/x64)/memset helper (other platforms) when a local needs more
    than a certain number of mov instructions to poison.
    
    Also includes a register allocator change to mark killed registers as
    modified in addRefsForPhysRegMask instead of by the (usually) calling
    function, since this function is used directly in the change.
    
    Fix dotnet#60852
    jakobbotsch committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    27a02d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

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