Skip to content

Allow null-based ARR_ADDRs - #67486

Merged
BruceForstall merged 1 commit into
dotnet:mainfrom
SingleAccretion:Fix-Arr-Addr-Assert
Apr 3, 2022
Merged

BruceForstall merged 1 commit into
dotnet:mainfrom
SingleAccretion:Fix-Arr-Addr-Assert

Conversation

@SingleAccretion

Copy link
Copy Markdown
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

ghost commented Apr 2, 2022

Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

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

@EgorBo

EgorBo commented Apr 2, 2022

Copy link
Copy Markdown
Member

/azp run runtime-coreclr jitstress

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@BruceForstall

Copy link
Copy Markdown
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