[Bug tree-optimization/43431] Diagnostic message is not clear for vectorization profitability analysis
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 28 17:01:00 GMT 2010
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-03-28 17:01 -------
(In reply to comment #3)
> What about fixing this bug with
>
> diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c
> index afbd342..2601b58 100644
> --- a/gcc/tree-vect-loop.c
> +++ b/gcc/tree-vect-loop.c
> @@ -2173,9 +2173,9 @@ vect_estimate_min_profitable_iters (loop_vec_info
> loop_vinfo)
> else
> {
> if (vect_print_dump_info (REPORT_COST))
> - fprintf (vect_dump, "cost model: vector iteration cost = %d "
> - "is divisible by scalar iteration cost = %d by a factor "
> - "greater than or equal to the vectorization factor = %d .",
> + fprintf (vect_dump, "cost model: the vector iteration cost = %d "
> + "divided by the scalar iteration cost = %d "
> + "is greater or equal to the vectorization factor = %d.",
> vec_inside_cost, scalar_single_iter_cost, vf);
> return -1;
> }
>
Looks good to me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43431
More information about the Gcc-bugs
mailing list