[RFA 1/n] Fix if conversion interactions with block partitioning

Steven Bosscher stevenb.gcc@gmail.com
Wed Sep 5 11:47:00 GMT 2012


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



More information about the Gcc-patches mailing list