JIT: consider optimizing box followed by GetType #8680
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
enhancement
Product code improvement that does NOT require public API changes/additions
JitThroughput
CLR JIT issues regarding speed of JIT itself
optimization
tenet-performance
Performance related issue
Milestone
Might not be a perf win, but it shows up in exception paths so could help reduce overall code size and jit time.
For instance, inspired by similar code in
System.ValueTuple
:the codegen for
CompareTo
is:Also a bit puzzling why we load both
x
andy
from this before doing any compare, seems like we should defer loadingy
. I suppose that's just how promotion works; all the fields get loaded even if some of the downstream uses are conditional.The text was updated successfully, but these errors were encountered: