Re: [PATCH v3] fwprop: Fix single_use_p calculation

2021-03-23 Thread Ilya Leoshkevich via Gcc-patches
On Tue, 2021-03-23 at 12:48 +, Richard Sandiford wrote: > Ilya Leoshkevich writes: > > +inline use_info * > > +set_info::single_nondebug_use () const > > +{ > > +  use_info *nondebug_insn = single_nondebug_insn_use (); > > +  if (nondebug_insn) > > +    return has_phi_uses () ? nullptr : nonde

Re: [PATCH v3] fwprop: Fix single_use_p calculation

2021-03-23 Thread Richard Sandiford via Gcc-patches
Ilya Leoshkevich writes: > +inline use_info * > +set_info::single_nondebug_use () const > +{ > + use_info *nondebug_insn = single_nondebug_insn_use (); > + if (nondebug_insn) > +return has_phi_uses () ? nullptr : nondebug_insn; > + use_info *phi = single_phi_use (); > + if (phi) > +ret