]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PR97847] IRA: Skip abnormal critical edge splitting
authorVladimir N. Makarov <vmakarov@redhat.com>
Mon, 18 Jan 2021 21:41:39 +0000 (16:41 -0500)
committerVladimir N. Makarov <vmakarov@redhat.com>
Mon, 18 Jan 2021 21:47:15 +0000 (16:47 -0500)
commita89c5d3539c36f160ca5b997324ebcd3d601d56e
treed737c54193b47dcfbb12f08af22f6519b136ead0
parent32b6e917ac4c6e6db1f84b02afd070055b70d1dc
[PR97847] IRA: Skip abnormal critical edge splitting

PPC64 can generate jumps with clobbered pseudo-regs and a BB with
such jump can have abnormal output edges.  IRA hits an assert when trying
to split abnormal critical edge to deal with asm goto output reloads
later.  The patch just skips splitting abnormal edges.  It is assumed
that asm-goto with output reloads can not be in BB with output abnormal edges.

gcc/ChangeLog:

PR target/97847
* ira.c (ira): Skip abnormal critical edge splitting.
gcc/ira.c