Fix failure with reimportSpillClique=true. #48152
Merged
sandreenko merged 4 commits intodotnet:masterfrom Feb 12, 2021
Merged
Conversation
Contributor
Author
|
There are other places that could be cleaned there, for example:
but as we discussed with @AndyAyersMS it should be done later when we have more reasons to touch this area. |
Contributor
Author
|
PTAL @dotnet/jit-contrib I don't think it meets the bar for 5.0 back-port, what do you think? |
Contributor
Author
|
/azp run runtime-coreclr crossgen2 outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
@JulieLeeMSFT it is not an issue, it is a pr. Do we want to move PRs to the project and assigned authors to them? |
Contributor
Author
|
The failures are unrelated, opened #48204 |
Member
I don't think it does (if it were customer reported, then maybe). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The optimization added in #31677 could cause a failure in tricky conditions.
The test reproduces the failure without crossgen2, it fails on 5.0.
We needed:
<DebugType>Full</DebugType>;reimportSpillClique = true, by creating blocks like:when all the conditions were met we were creating a tree like:
and failing with assert during local visitor phase, with a noway assert in codegen, then with invalid program exception (in 5.0 release).
The stack when we
bashToNop:so during reimportation, we will try to use the invalid reference during
impSpillStackEntry.Fixes #47308.