-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fix for PMI assert: 'vnWx != NoVN' #21512
Conversation
|
@sandreenko PTAL |
|
Can we validate this also fixes https://github.com/dotnet/coreclr/issues/21490? |
|
@tannergooding - How can I run this test leg on my changes using the CI?
|
|
test Windows_NT x64 Checked jitx86hwintrinsicnosimd |
|
@dotnet-bot Test Windows_NT x64 Checked jitx86hwintrinsicnosimd |
sandreenko
left a comment
There was a problem hiding this 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?
src/jit/valuenum.cpp
Outdated
| switch (oper) | ||
| { | ||
| case GT_LCL_VAR: | ||
| case GT_REG_VAR: |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
|
cc @dotnet/jit-contrib |
|
@dotnet-bot Test Windows_NT x64 Checked jitx86hwintrinsicnosimd |
|
@dotnet-bot test Windows_NT x64 Checked jitnox86hwintrinsic |
CarolEidt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Also fixes #21231 |
Fix for PMI assert: 'vnWx != NoVN' Commit migrated from dotnet/coreclr@36df5c5
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