Uh oh!
There was an error while loading. Please reload this page.
Revert "Do not generate TYP_STRUCTLCL_FLD nodes (#66251)" - #67360
Conversation
This reverts commit 2453f16.
ghost
commented
Mar 30, 2022
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsIn #66251 I've enhanced This was a correctness fix. Unfortunately, it also broke the *****BB01, STMT00006(before)
N005 ( 10, 8) [000064] -A------R---*ASG long N004 ( 3, 2) [000062] D------N----+--*LCL_VAR long V04 tmp2 d:2N003 ( 6, 5) [000063] n-----------\--*IND long N002 ( 3, 3) [000043] ------------\--*ADDR byref ZeroFseq[a]
N001 ( 3, 2) [000044] -------N----\--*LCL_VAR struct<TestUnsafeCasts+largeStruct, 32> V00 loc0 u:6 (last use)Where the field So I am reverting #66251, it seems
|
SingleAccretion
commented
Mar 30, 2022
@dotnet/jit-contrib |
In #66251 I've enhanced
IsLocalAddrExprto look for zero-offset sequences onADDRs.This was a correctness fix.
Unfortunately, it also broke the
structreturntest because we have the following tree there:Where the field
adoes not belong toTestUnsafeCasts+largeStruct. This is the well-known VN problem with invalid field sequences, there is no expedient fix for it.So I am reverting #66251, it seems
TYP_STRUCTLCL_FLDis fully gated on fixing this problem (I knew it was gated at least partially, I did not anticipate it to break so quickly though).Fixes#67346, #67355.