On 8/1/23 17:38, Vineet Gupta wrote:

Also note that getting FP out of the shift-add sequences is the other key goal of Jivan's work.  FP elimination always results in a spill/reload if we have a shift-add insn where one operand is FP.

Hmm, are you saying it should NOT be generating shift-add with SP as src, because currently thats exactly what fold FP offset *is* doing and is the reason it has 5 less insns.
We should not have shift-add with FP as a source prior to register allocation because it will almost always generate spill code.


jeff

Reply via email to