Skip to content

Fixes runtime issue #1739 - #1840

Merged
briansull merged 2 commits into
dotnet:masterfrom
briansull:issue-1739
Jan 17, 2020
Merged

Fixes runtime issue #1739#1840
briansull merged 2 commits into
dotnet:masterfrom
briansull:issue-1739

Conversation

@briansull

Copy link
Copy Markdown
Contributor

Added additional check for Jit Stress mode STRESS_LCL_FLDS
This stress mode requires that the types exactly match

Fixes#1739

Added additional check for Jit Stress mode STRESS_LCL_FLDS
This stress mode requires that the types exactly match
@briansull

Copy link
Copy Markdown
ContributorAuthor

@dotnet/jit-contrib PTAL

@sandreenkosandreenko added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jan 16, 2020

@AndyAyersMSAndyAyersMS left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changes LGTM.

I wonder if this stress mode provides a lot of value.

Comment threadsrc/coreclr/src/jit/lclvars.cpp Outdated

// The assert in the second pass below, requires that these types match, or we have a TYP_BLK
//
if ((varDsc->lvType != lcl->gtType) && varDsc->lvType != TYP_BLK)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: parens on the second part of the conditional...

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Updated with extra parens in both places

@briansull

Copy link
Copy Markdown
ContributorAuthor

The only test failure is due to the current issue with EvenPipe timeouts due to a deadlock:
Fix for that issue is being worked on here #1794

@briansull
briansull merged commit d6ad60f into dotnet:masterJan 17, 2020
@briansull
briansull deleted the issue-1739 branch January 17, 2020 19:59
@ghostghost locked as resolved and limited conversation to collaborators Dec 11, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

3 participants

@briansull@AndyAyersMS@sandreenko