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

Conversation

@briansull
Copy link

This assert can fire when rhsVNPair is still set to NoVN, because we set isNewUniq to true and didn't set up rhsVNPair .

This fix reorders the check for isNewUniq, so that we avoid calling vnPairApplySelectorsAssign when we will assign the rhsVNPair to a new unique value number.

Fixes VSO 750014

@briansull
Copy link
Author

@sandreenko PTAL

@tannergooding
Copy link
Member

@briansull
Copy link
Author

briansull commented Dec 12, 2018

@tannergooding - How can I run this test leg on my changes using the CI?

Project x64_checked_windows_nt_jitx86hwintrinsicnosimd

@tannergooding
Copy link
Member

test Windows_NT x64 Checked jitx86hwintrinsicnosimd

@briansull
Copy link
Author

@dotnet-bot Test Windows_NT x64 Checked jitx86hwintrinsicnosimd

Copy link

@sandreenko sandreenko left a comment

Choose a reason for hiding this comment

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

Do you expect any asm diffs from that change?

switch (oper)
{
case GT_LCL_VAR:
case GT_REG_VAR:

Choose a reason for hiding this comment

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

Why do you delete this?

Copy link
Author

Choose a reason for hiding this comment

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

It was deleted by
e1a5d0: Eliminate GenTreeRegVar and GT_REG_VAR and RegVar (#18317)

I may mistakenly be on a branch of a branch

Copy link
Author

Choose a reason for hiding this comment

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

I rebased and pushed to origin to fix this

@sandreenko
Copy link

cc @dotnet/jit-contrib

@briansull
Copy link
Author

@dotnet-bot Test Windows_NT x64 Checked jitx86hwintrinsicnosimd

@briansull
Copy link
Author

@dotnet-bot test Windows_NT x64 Checked jitnox86hwintrinsic

@briansull
Copy link
Author

Copy link

@CarolEidt CarolEidt left a comment

Choose a reason for hiding this comment

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

LGTM

@briansull briansull merged commit 36df5c5 into dotnet:master Dec 13, 2018
@briansull
Copy link
Author

Also fixes #21231

picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Fix for PMI assert:  'vnWx != NoVN'

Commit migrated from dotnet/coreclr@36df5c5
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.

4 participants