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

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Apr  7 13:40:24 2015
New Revision: 221895

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

    Backport from mainline
    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:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-vect-data-refs.c
    branches/gcc-4_9-branch/gcc/tree-vect-loop.c
    branches/gcc-4_9-branch/gcc/tree-vectorizer.h

Reply via email to