Re: [PATCH] cselib: Fix handling of multireg values for call insns [PR93170]

2020-01-26 Thread Jeff Law
On Mon, 2020-01-20 at 12:54 +, Richard Sandiford wrote: > g:3bd2918594dae34ae84f mishandled the case in which only the > tail end of a multireg hard register is invalidated by the call. > Walking all the entries should be both safer and more precise. > > Avoiding cselib_invalidate_regno also m

[PATCH] cselib: Fix handling of multireg values for call insns [PR93170]

2020-01-20 Thread Richard Sandiford
g:3bd2918594dae34ae84f mishandled the case in which only the tail end of a multireg hard register is invalidated by the call. Walking all the entries should be both safer and more precise. Avoiding cselib_invalidate_regno also means that we no longer walk the same list multiple times (which is som