This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More ifcvt woes
- To: rearnsha at arm dot com
- Subject: Re: More ifcvt woes
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 15 May 2000 13:58:17 -0600
- cc: Richard Henderson <rth at cygnus dot com>, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200005132037.VAA25055@cam-mail2.cambridge.arm.com>you write:
> Anyway, on to the next one.. :-(
>
> This time we have the sequence
>
> +---83 -> 86
> | |
> | v
> | 84---+
> | | |
> | v |
> | 85---+
> | |
> | |
> +-->86 |
> | |
> v |
> 87<--+
> |
>
> Where block 84 only contains a conditional jump (the comparison has been
> cse'd into block 83), and block 85 only contains an unconditional jump (to
> the same location as block 84 conditionally jumps to. That is, block 84
> is completely redundant. Finally, block 86 contains a single simple move
> insn.
I'd like to see us zap block 84 in this case rather than making ifcvt.c
have to deal with this kind of case.
jeff