Re: [patch,avr] Add an RTL peephole to tweak lower_reg:QI o= cst.

2024-11-06 Thread Denis Chertykov
ср, 6 нояб. 2024 г. в 12:58, Georg-Johann Lay : > > For operations like X o= CST, regalloc may spill l-reg X to a d-reg: > D = X > D o= CST > X = D > where it is better to instead > D = CST > X o= D > This patch adds an according RTL peephole. > > Ok for trunk? Please apply

[patch,avr] Add an RTL peephole to tweak lower_reg:QI o= cst.

2024-11-06 Thread Georg-Johann Lay
For operations like X o= CST, regalloc may spill l-reg X to a d-reg: D = X D o= CST X = D where it is better to instead D = CST X o= D This patch adds an according RTL peephole. Ok for trunk? Johann -- AVR: Add an RTL peephole to tweak lower_reg:QI o= cst. For operations li