On 09/06/2016 12:52 PM, Bin Cheng wrote:
Hi,
This simple patch changes slpeel_tree_duplicate_loop_edge_cfg by putting copied 
loop after its new preheader and after the original loop's latch in basic 
block's linked list.  It doesn't change CFG at all, but makes the dump cfg a 
little bit easier to read.  I assume this is good for basic block reordering 
too?

Thanks,
bin

2016-09-01  Bin Cheng  <bin.ch...@arm.com>

        * tree-vect-loop-manip.c (slpeel_tree_duplicate_loop_to_edge_cfg): Put
        duplicated loop after its preheader and after the original loop.

In theory bb reordering ought to clean this up. But better to generate good code from the start when it's easy to do so.

OK.

jeff

Reply via email to