On Thu, Oct 5, 2017 at 3:15 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > I noticed that new_preheader basic block could be deleted if the copied > loop is added at entry in function slpeel_tree_duplicate_loop_to_edge_cfg. > This simple patch skips new_preheader during variable renaming if it is > deleted. > Bootstrap and test in patch set on x86_64 and AArch64, is it OK?
Ok. Richard. > Thanks, > bin > 2017-10-04 Bin Cheng <bin.ch...@arm.com> > > * tree-vect-loop-manip.c (slpeel_tree_duplicate_loop_to_edge_cfg): > Skip > renaming variables in new preheader if it's deleted.