Skip to content

Conversation

@briansull
Copy link
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
Contributor Author

@dotnet/jit-contrib PTAL

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

@AndyAyersMS AndyAyersMS left a comment

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.


// 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
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
Contributor Author

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
Contributor Author

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:master Jan 17, 2020
@briansull briansull deleted the issue-1739 branch January 17, 2020 19:59
@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
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

3 participants