Commit 44542f8e by Ira Rosen Committed by Ira Rosen

tree-vect-data-refs.c (vect_peeling_hash_get_most_frequent): Take number of…

tree-vect-data-refs.c (vect_peeling_hash_get_most_frequent): Take number of iterations to peel into account for equally frequent...


        * tree-vect-data-refs.c (vect_peeling_hash_get_most_frequent):
        Take number of iterations to peel into account for equally
        frequent misalignment values.

From-SVN: r174965
parent 2aba77f6
2011-06-12 Ira Rosen <ira.rosen@linaro.org>
* tree-vect-data-refs.c (vect_peeling_hash_get_most_frequent):
Take number of iterations to peel into account for equally frequent
misalignment values.
2011-06-11 Jan Hubicka <jh@suse.cz>
* lto-streamer-out.c (produce_symtab): Stream out the newly represented
......
......@@ -1248,7 +1248,9 @@ vect_peeling_hash_get_most_frequent (void **slot, void *data)
vect_peel_info elem = (vect_peel_info) *slot;
vect_peel_extended_info max = (vect_peel_extended_info) data;
if (elem->count > max->peel_info.count)
if (elem->count > max->peel_info.count
|| (elem->count == max->peel_info.count
&& max->peel_info.npeel > elem->npeel))
{
max->peel_info.npeel = elem->npeel;
max->peel_info.count = elem->count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment