Am 09.08.23 um 13:15 schrieb SenthilKumar.Selvaraj--- via Gcc:
[...]
I guess the condition exists to ensure sp_off is always correct? Considering
LRA already
handles post_dec of SP just fine, perhaps it can allow RTX like
(set (reg/f:HI 32 __SP_L__)
(plus:HI (reg/f:HI 32 __SP_L__)
(const_int 10 [0xa]))) "../20031208-1.c":5:10 discrim 1 165
{*addhi3_split}
as long as the PLUS/MINUS is by a constant, and update sp_off accordingly?
It might be the case that non-const addends may also occur, e.g. with
alloca like code?
Johann
Or is there something the avr target has to do differently?
Regards
Senthil