JIT: Recognize more addressing modes #104538
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
We frequently miss addressing mode opportunities in the JIT. Some examples I know of off-hand:
lea
command #67187GetArrayDataReference
inVector*
#104532 (comment)Frequently the problem seems like a simple one: we end up with an intervening single-def single-used
LCL_VAR
that we could get rid of by some form of forward substitution.We could also consider a more advanced address mode formation pass that utilizes SSA or VN during the opts phases.
The text was updated successfully, but these errors were encountered: