diff options
author | Ilya Enkovich <ilya.enkovich@intel.com> | 2016-07-19 10:04:02 +0000 |
---|---|---|
committer | Ilya Enkovich <ienkovich@gcc.gnu.org> | 2016-07-19 10:04:02 +0000 |
commit | d9157f1514cb8f9e64e4b57c5461a9bb9b03427f (patch) | |
tree | 9306e3a0cf055b00959af76e666851019fcb784f /gcc/tree-vect-loop-manip.c | |
parent | f6918a8b63ad38e475c23e26df0f3c4f7faad6cb (diff) | |
download | gcc-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-manip.c')
-rw-r--r-- | gcc/tree-vect-loop-manip.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/tree-vect-loop-manip.c b/gcc/tree-vect-loop-manip.c index 93b29b7..819abcd 100644 --- a/gcc/tree-vect-loop-manip.c +++ b/gcc/tree-vect-loop-manip.c @@ -1735,6 +1735,10 @@ vect_update_ivs_after_vectorizer (loop_vec_info loop_vinfo, tree niters, iterates NITERS times, the new epilog loop iterates NITERS % VECTORIZATION_FACTOR times. + If CHECK_PROFITABILITY is 1 then profitability check is generated + using TH as a cost model profitability threshold of iterations for + vectorization. + The original loop will later be made to iterate NITERS / VECTORIZATION_FACTOR times (this value is placed into RATIO). @@ -1993,7 +1997,11 @@ vect_update_inits_of_drs (loop_vec_info loop_vinfo, tree niters) 'niters' is set to the misalignment of one of the data references in the loop, thereby forcing it to refer to an aligned location at the beginning of the execution of this loop. The data reference for which we are - peeling is recorded in LOOP_VINFO_UNALIGNED_DR. */ + peeling is recorded in LOOP_VINFO_UNALIGNED_DR. + + If CHECK_PROFITABILITY is 1 then profitability check is generated + using TH as a cost model profitability threshold of iterations for + vectorization. */ void vect_do_peeling_for_alignment (loop_vec_info loop_vinfo, tree ni_name, @@ -2313,7 +2321,7 @@ vect_create_cond_for_alias_checks (loop_vec_info loop_vinfo, tree * cond_expr) The test generated to check which version of loop is executed is modified to also check for profitability as indicated by the - cost model initially. + cost model threshold TH. The versioning precondition(s) are placed in *COND_EXPR and *COND_EXPR_STMT_LIST. */ |