Improve vectorization cost model diagnostic.

2010-03-29  Sebastian Pop  <sebastian.pop@amd.com>

	PR middle-end/43431
	* tree-vect-loop.c (vect_estimate_min_profitable_iters):
	Improve vectorization cost model diagnostic.

From-SVN: r157801
This commit is contained in:
Sebastian Pop 2010-03-29 16:38:40 +00:00 committed by Sebastian Pop
parent 22a8be9eee
commit 49a71bc8d6
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2010-03-29 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43431
* tree-vect-loop.c (vect_estimate_min_profitable_iters):
Improve vectorization cost model diagnostic.
2010-03-29 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43436

View File

@ -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;
}