Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@briansull
Copy link

We now allow TYP_BYREF to be compatible with TYP_I_IMPL when performing CSE substitutions.
Re-enable the failing BestFitMapping interop tests

We now allow TYP_BYREF to be compatible with TYP_I_IMPL when performing CSE substitutions.
Re-enable the failing BestFitMapping interop tests
@briansull
Copy link
Author

@dotnet-bot test Windows_NT x64 Checked Innerloop jitstress2 Build and Test

@briansull
Copy link
Author

@dotnet-bot test Windows_NT x64 Checked jitstress2
@dotnet-bot test Windows_NT x64 Checked jitstress2_tiered

@briansull briansull changed the title Fix Isuue 22436 - noway_assert 'expTyp == cseLclVarTyp' in optcse.cpp Fix Issue 22436 - noway_assert 'expTyp == cseLclVarTyp' in optcse.cpp Feb 21, 2019
//
bool IsCompatibleType(var_types cseLclVarTyp, var_types expTyp)
{
// Excat type match is the expected case
Copy link
Member

Choose a reason for hiding this comment

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

Excat -> Exact

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.

You need braces after your ifs.

We are going to develop a better strategy for these mixed byref/nint cases someday, and when we do, we might want to go back to being strict here.

@briansull
Copy link
Author

@AndyAyersMS Agreed

@briansull
Copy link
Author

@dotnet-bot test Windows_NT x64 Checked jitstress2
@dotnet-bot test Windows_NT x64 Checked jitstress2_tiered

@briansull briansull merged commit bb0c2df into dotnet:master Feb 21, 2019
@briansull briansull deleted the issue-22436 branch February 21, 2019 23:38
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Fix Issue 22436 - noway_assert  'expTyp == cseLclVarTyp' in optcse.cpp

Commit migrated from dotnet/coreclr@bb0c2df
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants