[PATCH GCC 5/9]Put copied loop after its preheader and after the original loop's latch in basic block link list

Bin Cheng Bin.Cheng@arm.com
Tue Sep 6 18:52:00 GMT 2016


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.cheng@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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 005-put-loop-after-preheader-slpeel-dup-20160901.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160906/9d28b91e/attachment.txt>


More information about the Gcc-patches mailing list