KEMBAR78
Allow null-based `ARR_ADDR`s by SingleAccretion · Pull Request #67486 · dotnet/runtime · GitHub
Skip to content

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.
@ghost ghost added 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 labels 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
Contributor

@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