JIT LSRA Throughput: Short-circuit register selection #6705
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
needs-further-triage
Issue has been initially triaged, but needs deeper consideration or reconsideration
tenet-performance
Performance related issue
Milestone
The loop over all the candidate registers in
LinearScan::tryAllocateFreeReg()
and inLinearScan::allocateBusyReg()
could be short-circuited when a register is found that has the best possible score. Additionally, in the case of MinOpts, it could potentially short-circuit as soon as a suitable candidate is found, though one would want to weight the throughput benefit against the code quality impact.category:throughput
theme:register-allocator
skill-level:expert
cost:medium
The text was updated successfully, but these errors were encountered: