-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[mono] Missing box optimizations in the interpreter #99463
Comments
Any particular test case where you see this ? MINT_BOX should produce a value that is marked as non null, which is handled during cprop when we fold branches. I see we also have a pattern for recognizing box + unbox.any in transform.c. |
There are a bunch of cases in method-to-ir.c in the CEE_BOX: section. An example is box+isinst, which is produced by:
|
Let's move future discussions to #99379, since that issue is linked to the failing test. Closing this issue now. |
The mono JIT has a bunch of optimizations for common IL code sequences like box+brtrue, box+unbox.any. The interpreter is currently missing these.
The text was updated successfully, but these errors were encountered: