Skip to content

Conversation

@AndyAyersMS
Copy link
Member

Handle the case where we're indirectly updating a local with a value that is not a constant.

Fixes #92218.

Handle the case where we're indirectly updating a local with a value
that is not a constant.

Fixes dotnet#92218.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 18, 2023
@ghost ghost assigned AndyAyersMS Sep 18, 2023
@ghost
Copy link

ghost commented Sep 18, 2023

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

Issue Details

Handle the case where we're indirectly updating a local with a value that is not a constant.

Fixes #92218.

Author: AndyAyersMS
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@AndyAyersMS
Copy link
Member Author

@BruceForstall PTAL
cc @dotnet/jit-contrib

This is a regression from .NET 7, so we'll need to make the case for a backport.

Copy link
Contributor

@BruceForstall BruceForstall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Probably should run jitstress

@AndyAyersMS
Copy link
Member Author

/azp run runtime-coreclr jitstress

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jakobbotsch
Copy link
Member

The issue looks like the same as #41073, where it seems we elected not to fix it in emitHandleMemOp. Does the reasoning given in its PR make sense for this situation too?

@AndyAyersMS
Copy link
Member Author

The issue looks like the same as #41073, where it seems we elected not to fix it in emitHandleMemOp. Does the reasoning given in its PR make sense for this situation too?

My fix is in emitInsRMW so is consistent with #50669 (the fix for #41073), which added the S_I case.

jitstress failures also happening in main (#92202 ).

@AndyAyersMS
Copy link
Member Author

Build analysis doesn't seem to be tracking known jitstress issues, so will have to "merge on red".

@AndyAyersMS AndyAyersMS merged commit 67dbbeb into dotnet:main Sep 19, 2023
@AndyAyersMS
Copy link
Member Author

/backport to release/8.0

@github-actions
Copy link
Contributor

@jakobbotsch
Copy link
Member

Build analysis doesn't seem to be tracking known jitstress issues, so will have to "merge on red".

The issues with the JSON blobs need to have the "Known Build Error" label to be included in the analysis. I've added it to #92202

@AndyAyersMS
Copy link
Member Author

Build analysis doesn't seem to be tracking known jitstress issues, so will have to "merge on red".

The issues with the JSON blobs need to have the "Known Build Error" label to be included in the analysis. I've added it to #92202

Aha. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Oct 19, 2023
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect NRE during operations on structures in method marked with AgressiveOptimization

3 participants