LSRA: Avoiding reg spill to memory when reg-value is consistent with memory #6761
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
optimization
tenet-performance
Performance related issue
Milestone
Say a local variable is allocated a reg loaded its value from memory. Say there were many uses of local variable in IR and afterwards local variable needs to be spilled due to register pressure. We can avoid writing reg back to memory if there are no intervening updates to reg on the path where it was loaded from memory to the point where it needs to be spilled.
category:cq
theme:register-allocator
skill-level:expert
cost:medium
impact:medium
The text was updated successfully, but these errors were encountered: