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
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
Bootstrap and regtest running on x86_64-redhat-linux,
ppc64le-redhat-linux and s390x-redhat-linux. Ok for master?
v1: https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566127.html
v1 -> v2: Pass a set_info instead of a def_info around.
Add single_nondebug_insn_use () - maybe this cou