On Mon, Nov 25, 2013 at 10:26 AM, Diego Novillo <dnovi...@google.com> wrote:
> On Mon, Nov 25, 2013 at 1:22 PM, Xinliang David Li <davi...@google.com> wrote:
>> In this case the backedge will be a critical edge, which will be split by 
>> GCC.
>
> Right. So, if I split it, I will reach essentially the same
> conclusion, I think. The new block will get the original block's
> weight, which (in turn) will translate into the (now only outgoing)
> edge.

Why do you want to set the back edge count as the BB count? I think
the right formula is: count(back_edge) = count(BB) -
count(entry_edge), in which entry_edge is the edge that enters the
loop.

Dehao

>
>
> Diego.

Reply via email to