JIT: Optimize boxing(x) == boxing(y) to false. #13822
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
optimization
Milestone
Codegen for
Test
:Expected codegen:
Not sure if people actually use this pattern though. But should be a simple fix because CoreCLR already optimizes boxing for similar cases (e.g.
boxing(x) == null
tofalse
etc, see mono/mono#17858 for links).category:cq
theme:optimization
skill-level:intermediate
cost:medium
The text was updated successfully, but these errors were encountered: