JIT: Allow forward substituting small-typed nodes - #83969
Merged
Conversation
jakobbotsch
marked this pull request as draft
March 27, 2023 11:06
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue Detailsnull
|
Member
Author
|
/azp run Fuzzlyn |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Member
Author
|
Fuzzlyn failure looks unrelated, will open a separate issue for that. Going to bounce this... looks like it got caught up in the GitHub outage, the CI runs are actually finished but the check statuses haven't updated. |
Member
Author
|
/azp run runtime-coreclr jitstress, runtime-coreclr libraries-jitstress |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Member
Author
|
The failure is #80857. Diffs. Some of the regressions are due to some casts we no longer omit without local copy prop, before: fgMorphTree BB01, STMT00004 (before)
[000016] -A--------- ▌ ASG bool
[000015] D------N--- ├──▌ LCL_VAR bool V04 tmp2
[000014] ----------- └──▌ LCL_VAR int V03 tmp1 (last use)
GenTreeNode creates assertion:
[000016] -A---+----- ▌ ASG bool
In BB01 New Local Copy Assertion: V04 == V03, index = #03
fgMorphTree BB01, STMT00003 (before)
[000010] ----------- ▌ RETURN struct
[000009] ----------- └──▌ LCL_VAR struct<System.Text.Json.Nodes.JsonNodeOptions, 1>(P) V01 loc0
└──▌ bool V01.<unknown class>:<PropertyNameCaseInsensitive>k__BackingField (offs=0x00) -> V04 tmp2 (last use)
Replacing an independently promoted local var V01 with its only field V04 for the return [000009]
Assertion prop in BB01:
Copy Assertion: V04 == V03, index = #03
[000009] ----------- ▌ LCL_VAR bool V03 tmp1
fgMorphTree BB01, STMT00003 (after)
[000010] -----+----- ▌ RETURN struct
[000009] -----+----- └──▌ LCL_VAR bool V03 tmp1 After: fgMorphTree BB01, STMT00004 (after)
[000016] -A-XG+----- ▌ ASG bool
[000015] D----+-N--- ├──▌ LCL_VAR bool V04 tmp2
[000011] ---XG+----- └──▌ IND bool
[000021] -----+----- └──▌ ADD byref
[000005] -----+----- ├──▌ LCL_VAR ref V00 this (last use)
[000020] -----+----- └──▌ CNS_INT long 134 Fseq[<unknown field>]
fgMorphTree BB01, STMT00003 (before)
[000010] ----------- ▌ RETURN struct
[000009] ----------- └──▌ LCL_VAR struct<System.Text.Json.Nodes.JsonNodeOptions, 1>(P) V01 loc0
└──▌ bool V01.<unknown class>:<PropertyNameCaseInsensitive>k__BackingField (offs=0x00) -> V04 tmp2 (last use)
Replacing an independently promoted local var V01 with its only field V04 for the return [000009]
fgMorphTree BB01, STMT00003 (after)
[000010] -----+----- ▌ RETURN struct
[000022] -----+----- └──▌ CAST int <- bool <- int
[000009] -----+----- └──▌ LCL_VAR int V04 tmp2 (last use)cc @dotnet/jit-contrib PTAL @AndyAyersMS |
jakobbotsch
marked this pull request as ready for review
March 27, 2023 21:26
AndyAyersMS
approved these changes
Mar 27, 2023
This was referenced Mar 30, 2023
Closed
Closed
Closed
This was referenced Apr 4, 2023
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.
#79408 (comment)