-
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 'block->lastNode()->OperGet() == GT_RETFILT' during 'Generate code' (IL size 1480; hash 0x46e9aa75; FullOpts) #85088
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsRepros on windows x86
Antigen repro: https://gist.github.com/kunalspathak/13eab94a2e925edd3a39e244d5463a8f
|
@BruceForstall - Can this be related to your recent refactoring work? |
Unknown, but I'll take a look |
This doesn't fail in the current |
@jakobbotsch This is due to physical promotion. I didn't know physical promotion was part of our usual stress mix at this point; is that appropriate? On x86, GT_RETFILT must be the last operation of a filter/finally return. But it appears physical promotion inserts a "read back" after the RETFILT node:
Note; the IR dump after the phase is:
but the As mentioned above, this doesn't fail in |
It is meant to be fully functional (but maybe not profitable), so I'd say so.
Makes sense, I will make sure to dump these when they are created. FWIW, physical promotion just uses
#85105 may have altered the IR as a side effect. |
Also add some logging for read backs in physical promotion. Fix dotnet#85088
Also add some logging for read backs in physical promotion. Fix #85088
Repros on windows x86
Antigen repro: https://gist.github.com/kunalspathak/13eab94a2e925edd3a39e244d5463a8f
The text was updated successfully, but these errors were encountered: