Re: [committed] combine: Don't replace SET_SRC with REG_EQUAL note content if SET_SRC has side-effects [PR94873]

2020-05-06 Thread Segher Boessenkool
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

[committed] combine: Don't replace SET_SRC with REG_EQUAL note content if SET_SRC has side-effects [PR94873]

2020-05-06 Thread Jakub Jelinek via Gcc-patches
Hi! 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