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

Allow null-based ARR_ADDRs #67486

Merged
merged 1 commit into from
Apr 3, 2022

Conversation

SingleAccretion
Copy link
Contributor

We can sometimes see trees like ARR_ADDR(long 0) that are the result of morph's folding logic.

In general it does not seem great to allow folding of BYREFs into LONGs like that, but it is also not incorrect per-se.

Should fix stress failures introduced in #64581.

We can sometimes see trees like "ARR_ADDR(long 0)" that are the
result of morph's folding logic.

In general it does not seem great to allow folding of BYREFs
into LONGs like that, but it is also not incorrect per-se.
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 2, 2022
@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Apr 2, 2022
@ghost
Copy link

ghost commented Apr 2, 2022

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

We can sometimes see trees like ARR_ADDR(long 0) that are the result of morph's folding logic.

In general it does not seem great to allow folding of BYREFs into LONGs like that, but it is also not incorrect per-se.

Should fix stress failures introduced in #64581.

Author: SingleAccretion
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@SingleAccretion
Copy link
Contributor Author

@dotnet/jit-contrib I would like to request runtime-coreclr jitstress be run here to validate the fix is sufficient.

@EgorBo
Copy link
Member

EgorBo commented Apr 2, 2022

/azp run runtime-coreclr jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@BruceForstall
Copy link
Member

@SingleAccretion jitstress passed. Mark ready for review?

@SingleAccretion SingleAccretion marked this pull request as ready for review April 2, 2022 21:47
@BruceForstall BruceForstall merged commit cdfd731 into dotnet:main Apr 3, 2022
@SingleAccretion SingleAccretion deleted the Fix-Arr-Addr-Assert branch April 3, 2022 19:33
@JulieLeeMSFT JulieLeeMSFT added this to the 7.0.0 milestone Apr 4, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants