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: Disallow implicit byref args and return buffers from aliasing #104616

Merged
merged 1 commit into from
Jul 10, 2024

Commits on Jul 9, 2024

  1. JIT: Disallow implicit byref args and return buffers from aliasing

    The recent work to allow more retbuf definitions uncovered cases where
    we would end up with the retbuffer aliasing an implicit byref argument.
    The JIT does not handle this aliasing, which would require proper
    `GTF_GLOB_REF` flags on the local nodes accesses implicit byrefs. Fix
    the problem by disallowing last-use copy elision when the local would
    alias the return buffer.
    
    Fix dotnet#104613
    jakobbotsch committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    5c931b8 View commit details
    Browse the repository at this point in the history