Re: [PATCH] rtl-ssa: Reject non-address uses of autoinc regs [PR120347]

2025-05-23 Thread Richard Biener
On Thu, May 22, 2025 at 12:19 PM Richard Sandiford wrote: > > As the rtl.texi documentation of RTX_AUTOINC expressions says: > > If a register used as the operand of these expressions is used in > another address in an insn, the original value of the register is > used. Uses of the register

[PATCH] rtl-ssa: Reject non-address uses of autoinc regs [PR120347]

2025-05-22 Thread Richard Sandiford
As the rtl.texi documentation of RTX_AUTOINC expressions says: If a register used as the operand of these expressions is used in another address in an insn, the original value of the register is used. Uses of the register outside of an address are not permitted within the same insn as a u