This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]