On Wed, May 06, 2020 at 09:36:55AM +0200, Jakub Jelinek wrote:
> There were some discussions about whether REG_EQUAL notes are valid on insns 
> with a single
> set which contains auto-inc-dec side-effects in the SET_SRC and the majority 
> thinks that
> it should be valid.  So, this patch fixes the combiner to punt in that case, 
> because otherwise
> the auto-inc-dec side-effects from the SET_SRC are lost.
> 
> Bootstrapped/regtested on {x86_64,i686,aarch64,powerpc64{,le}}-linux,
> preapproved in the PR by Segher, committed to trunk so far.

Thanks!  It would be nice if we could handle this more centrally, make
sure we never lose (significant) side effects.  Maybe that cannot be
done with current RTL :-/


Segher

Reply via email to