On 16.12.2011 11:53, Jakub Jelinek wrote:
On Fri, Dec 16, 2011 at 09:47:52AM +0400, Andrey Belevantsev wrote:
Thus, if an insn has any note that prevents it from being cloned, we
need to fix the above place. (If an insn should not even be moved
from its block, then CANT_MOVE should be set to 1
> REG_DEAD/REG_UNUSED notes are recomputed by df, I don't think
> anything recomputes REG_EQUAL/REG_EQUIV.
Correct, passes need to adjust the REG_EQUAL/REG_EQUIV notes if need be.
--
Eric Botcazou
On Fri, Dec 16, 2011 at 09:47:52AM +0400, Andrey Belevantsev wrote:
> Thus, if an insn has any note that prevents it from being cloned, we
> need to fix the above place. (If an insn should not even be moved
> from its block, then CANT_MOVE should be set to 1 in the same
> function.) Then create_c
On 16.12.2011 0:42, Jakub Jelinek wrote:
On Thu, Dec 15, 2011 at 09:37:45AM -0800, Richard Henderson wrote:
On 12/15/2011 09:32 AM, Jakub Jelinek wrote:
PR debug/51557
* sel-sched-ir.c (create_copy_of_insn_rtx): Copy REG_ARGS_SIZE
notes.
* gcc.dg/pr51557.c: New
On Thu, Dec 15, 2011 at 09:37:45AM -0800, Richard Henderson wrote:
> On 12/15/2011 09:32 AM, Jakub Jelinek wrote:
> > PR debug/51557
> > * sel-sched-ir.c (create_copy_of_insn_rtx): Copy REG_ARGS_SIZE
> > notes.
> >
> > * gcc.dg/pr51557.c: New test.
>
> There are plenty of other no
On 12/15/2011 09:32 AM, Jakub Jelinek wrote:
> PR debug/51557
> * sel-sched-ir.c (create_copy_of_insn_rtx): Copy REG_ARGS_SIZE
> notes.
>
> * gcc.dg/pr51557.c: New test.
There are plenty of other notes that could as well need duplication.
E.g. REG_INC, REG_FRAME_RELATED_EX