https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65660

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Sat Apr  4 10:47:08 2015
New Revision: 221866

URL: https://gcc.gnu.org/viewcvs?rev=221866&root=gcc&view=rev
Log:
2015-04-04  Richard Biener  <rguent...@suse.de>

    PR tree-optimization/64909
    PR tree-optimization/65660
    * tree-vectorizer.h (vect_get_known_peeling_cost): Adjust
    to take a cost vector for scalar iteration cost.
    (vect_get_single_scalar_iteration_cost): Likewise.
    * tree-vect-loop.c (vect_get_single_scalar_iteration_cost):
    Compute the scalar iteration cost into a cost vector.
    (vect_get_known_peeling_cost): Use the scalar cost vector to
    account for the cost of the peeled iterations.
    (vect_estimate_min_profitable_iters): Likewise.
    * tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost):
    Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vect-data-refs.c
    trunk/gcc/tree-vect-loop.c
    trunk/gcc/tree-vectorizer.h

Reply via email to