Add test for boxing byreflike fail.#101458
Conversation
|
I am also curious if the following going to be considered a valid IL for The behavior of IL is reasonable, but sequences This is not an ask from compiler to support an IL like that. |
I will validate those sequences today.
@AlekseyTs Correct. The JIT only recognizes sequences in this area that begin with runtime/src/coreclr/jit/importer.cpp Lines 2829 to 2848 in 56ee7c5
Understood. |
|
I will take a look at the Mono failures. |
|
#101509 should fix the current mono test failures. |
@AlekseyTs Yes, that is valid. I've also added a test for that case. |
|
@lambdageek @fanyang-mono @steveisok Please take a look. The CI is now green. |
* Check if type is compatible right before emitting box * Add test for using byreflike type in isinst expressions.
* Check if type is compatible right before emitting box * Add test for using byreflike type in isinst expressions.
/cc @AlekseyTs @elinor-fung @lambdageek @fanyang-mono