On Wed, Sep 25, 2019 at 04:52:14PM +0100, Richard Sandiford wrote: > Segher Boessenkool <seg...@kernel.crashing.org> writes: > > On Thu, Sep 12, 2019 at 08:51:59AM +0100, Richard Sandiford wrote: > >> Segher Boessenkool <seg...@kernel.crashing.org> writes: > >> > It is not such a great name like that. Since its children are > >> > very_long_names, it doesn't need to be only three chars itself, > >> > either? > >> > >> OK, what name would you prefer? > > > > Maybe call_abi is a good name? It's difficult to capture the subtleties > > in a short enough name. As always :-) > > The formatting ended up being a bit weird with a longer name, > so how about the attached instead?
That looks great, thanks! > + /* ??? We could try to preserve some information from the last > + set of register I if the call doesn't actually clobber > + (reg:last_set_mode I), which might be true for ABIs with > + partial clobbers. However, it would be difficult to > + update last_set_nonzero_bits and last_sign_bit_copies > + to account for the part of I that actually was clobbered. > + It wouldn't help much anyway, since we rarely see this > + situation before RA. */ I would like to completely get rid of reg_stat, and have known bits dealt with by some DF thing instead... It would work much better and be much easier to use at the same time. Also, other passes could use it as well. If I ever will find time to do this, I don't know :-/ Segher