Re: [PATCH] rtl-ssa: Fix test condition for insn_info::has_been_deleted

2025-06-25 Thread Richard Sandiford
Christoph Müllner writes: > insn_info::has_been_deleted () is documented to return true if an > instruction is deleted. Such instructions have their `volatile` bit set, > which can be tested via rtx_insn::deleted (). > > The current condition for insn_info::has_been_deleted () is: > * m_rtl is no

Re: [PATCH] rtl-ssa: Fix test condition for insn_info::has_been_deleted

2025-06-25 Thread Richard Sandiford
Christoph Müllner writes: > On Tue, Jun 24, 2025 at 9:29 PM Richard Sandiford > wrote: >> >> Christoph Müllner writes: >> > insn_info::has_been_deleted () is documented to return true if an >> > instruction is deleted. Such instructions have their `volatile` bit set, >> > which can be tested vi

Re: [PATCH] rtl-ssa: Fix test condition for insn_info::has_been_deleted

2025-06-25 Thread Christoph Müllner
On Tue, Jun 24, 2025 at 9:29 PM Richard Sandiford wrote: > > Christoph Müllner writes: > > insn_info::has_been_deleted () is documented to return true if an > > instruction is deleted. Such instructions have their `volatile` bit set, > > which can be tested via rtx_insn::deleted (). > > > > The