aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorIlya Enkovich <ilya.enkovich@intel.com>2016-07-19 10:04:02 +0000
committerIlya Enkovich <ienkovich@gcc.gnu.org>2016-07-19 10:04:02 +0000
commitd9157f1514cb8f9e64e4b57c5461a9bb9b03427f (patch)
tree9306e3a0cf055b00959af76e666851019fcb784f /gcc/tree-vect-loop.c
parentf6918a8b63ad38e475c23e26df0f3c4f7faad6cb (diff)
downloadgcc-d9157f1514cb8f9e64e4b57c5461a9bb9b03427f.zip
gcc-d9157f1514cb8f9e64e4b57c5461a9bb9b03427f.tar.gz
gcc-d9157f1514cb8f9e64e4b57c5461a9bb9b03427f.tar.bz2
tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer): Update comment.
gcc/ * tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer): Update comment. (vect_update_inits_of_drs): Likewise. (vect_create_cond_for_alias_checks): Likewise. * tree-vect-loop.c (vect_get_known_peeling_cost): Likewise. From-SVN: r238466
Diffstat (limited to 'gcc/tree-vect-loop.c')
-rw-r--r--gcc/tree-vect-loop.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c
index 11863af..2a7e0c6 100644
--- a/gcc/tree-vect-loop.c
+++ b/gcc/tree-vect-loop.c
@@ -3065,7 +3065,15 @@ vect_get_known_peeling_cost (loop_vec_info loop_vinfo, int peel_iters_prologue,
Return the number of iterations required for the vector version of the
loop to be profitable relative to the cost of the scalar version of the
- loop. */
+ loop.
+
+ *RET_MIN_PROFITABLE_NITERS is a cost model profitability threshold
+ of iterations for vectorization. -1 value means loop vectorization
+ is not profitable. This returned value may be used for dynamic
+ profitability check.
+
+ *RET_MIN_PROFITABLE_ESTIMATE is a profitability threshold to be used
+ for static check against estimated number of iterations. */
static void
vect_estimate_min_profitable_iters (loop_vec_info loop_vinfo,