Hi, This patch changes the order in which we check outside and inside costs for epilogue loops, this is to ensure that a predicated epilogue is more likely to be picked over an unpredicated one, since it saves having to enter a scalar epilogue loop. gcc/ChangeLog:         * tree-vect-loop.c (vect_better_loop_vinfo_p): Change how epilogue loop costs are compared.