Skip to content

Revert genCall register trash changes from CFG PR#65397

Closed
jakobbotsch wants to merge 1 commit intodotnet:mainfrom
jakobbotsch:fix-65395
Closed

Revert genCall register trash changes from CFG PR#65397
jakobbotsch wants to merge 1 commit intodotnet:mainfrom
jakobbotsch:fix-65395

Conversation

@jakobbotsch
Copy link
Copy Markdown
Member

Revert these particular fragments back to what they were before CFG.
This should fix outerloop but I will need to take a closer look tomorrow
as this particular code is not right for the CFG validator.

Fix #65395

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 15, 2022
@ghost ghost assigned jakobbotsch Feb 15, 2022
@ghost
Copy link
Copy Markdown

ghost commented Feb 15, 2022

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

Issue Details

Revert these particular fragments back to what they were before CFG.
This should fix outerloop but I will need to take a closer look tomorrow
as this particular code is not right for the CFG validator.

Fix #65395

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch
Copy link
Copy Markdown
Member Author

cc @dotnet/jit-contrib @echesakovMSFT

Revert these particular fragments back to what they were before CFG.
This should fix outerloop but I will need to take a closer look tomorrow
as this particular code is not right for the CFG validator.

Fix dotnet#65395
@EgorBo
Copy link
Copy Markdown
Member

EgorBo commented Feb 15, 2022

does it fix #65311 ?

@jakobbotsch
Copy link
Copy Markdown
Member Author

does it fix #65311 ?

No, doesn't look like it does.

Copy link
Copy Markdown
Contributor

@echesakov echesakov left a comment

Choose a reason for hiding this comment

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

Looks fine to unblock outerloop.

@jakobbotsch
Copy link
Copy Markdown
Member Author

/azp run runtime-coreclr outerloop

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@echesakov
Copy link
Copy Markdown
Contributor

Note that this failed in runtime-coreclr jitstressregs pipeline originally.

@jakobbotsch
Copy link
Copy Markdown
Member Author

Note that this failed in runtime-coreclr jitstressregs pipeline originally.

Ah.. will run that one then.

@jakobbotsch
Copy link
Copy Markdown
Member Author

/azp run runtime-coreclr jitstressregs

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@MichalStrehovsky
Copy link
Copy Markdown
Member

The NativeAOT leg is failing in the CFG test with Assertion failed '(gcInfo.gcRegGCrefSetCur & (RBM_CALLEE_TRASH & ~RBM_ARG_REGS)) == 0' in 'System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:.ctor(int,int,System.IFormatProvider,System.Span1[System.Char]):this' during 'Generate code' (IL size 49)`

It's difficult to find this assert in the wall of warning spew. I've submitted #65423 to clean the noise up.

@jakobbotsch
Copy link
Copy Markdown
Member Author

The NativeAOT leg is failing in the CFG test with Assertion failed '(gcInfo.gcRegGCrefSetCur & (RBM_CALLEE_TRASH & ~RBM_ARG_REGS)) == 0' in 'System.Runtime.CompilerServices.DefaultInterpolatedStringHandler:.ctor(int,int,System.IFormatProvider,System.Span1[System.Char]):this' during 'Generate code' (IL size 49)`

Right.. that's not super surprising given this is why I changed this code in the first place, so the code here should have been guarded on CFG. Guess that's what I get for late-night PR'ing.

@jakobbotsch
Copy link
Copy Markdown
Member Author

Superseded by #65432.

@ghost ghost locked as resolved and limited conversation to collaborators Mar 18, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

codegenarmarch.cpp:3201 Assertion failed '(gcInfo.gcRegGCrefSetCur & killMask) == 0'

4 participants