This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA 1/n] Fix if conversion interactions with block partitioning
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Matthew Gretton-Dann <matthew dot gretton-dann at linaro dot org>
- Cc: gcc-patches at gcc dot gnu dot org, jle at rice dot edu, rdsandiford at googlemail dot com, ebotcazou at libertysurf dot fr, rearnsha at arm dot com, ramrad01 at arm dot com
- Date: Wed, 5 Sep 2012 13:47:19 +0200
- Subject: Re: [RFA 1/n] Fix if conversion interactions with block partitioning
- References: <3426629.1pGjjBJZRU@e103209-lin>
On Wed, Sep 5, 2012 at 1:25 PM, Matthew Gretton-Dann wrote:
> + /* If the two blocks are in different partitions we do not want to mark
> + this as a fallthru edge. */
> + if (BB_PARTITION (b) != BB_PARTITION (c))
> + return;
> +
I think you should look for a REG_CROSSING_JUMP note on BB_END instead
of comparing BB_PARTITION.
Ciao!
Steven