-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion failed 'varTypeIsStruct(TypeGet())' during 'Optimize Valnum CSEs' #85037
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsFailing in runtime-coreclr jitstress-isas-x86
|
@jakobbotsch Please take a look. It happens in Antigen and other tests as well. |
This test sets N008 ( 5, 6) CSE #03 (def)[000395] ----------- ▌ COMMA struct $3c3
N006 ( 5, 6) CSE #02 (use)[000394] ----------- ├──▌ COMMA int $180
N004 ( 1, 1) [000393] ----------- │ ├──▌ LCL_VAR int V57 tmp45 u:1 (last use) $180
N005 ( 3, 4) [000392] -------N--- │ └──▌ LCL_FLD int V01 loc0 u:1[+8] (last use) $180
N007 ( 0, 0) [000234] ----------- └──▌ NOP void $3c3 after liveness where CSE gets confused about the mismatched types. |
This code could create IR shapes like COMMA struct ... ASG struct dst src After liveness that would sometimes result in COMMA struct ... NOP void which could confuse optimization phases when JitOptRepeat was enabled. The more canonical shape for these side-effecting GT_COMMA nodes has them TYP_VOID typed as shown by gtExtractSideEffList, so do the same in block morph. Fix dotnet#85037
This code could create IR shapes like COMMA struct ... ASG struct dst src After liveness that would sometimes result in COMMA struct ... NOP void which could confuse optimization phases when JitOptRepeat was enabled. The more canonical shape for these side-effecting GT_COMMA nodes has them TYP_VOID typed as shown by gtExtractSideEffList, so do the same in block morph. Fix #85037
Failing in runtime-coreclr jitstress-isas-x86
e.g.
https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-84946-merge-ee46ebab9be144078a/Regression_2/1/console.bd4bc3aa.log?helixlogtype=result
The text was updated successfully, but these errors were encountered: