diff options
author | Cong Hou <congh@google.com> | 2014-04-03 19:05:42 -0400 |
---|---|---|
committer | Cong Hou <congh@gcc.gnu.org> | 2014-04-03 19:05:42 -0400 |
commit | 090cd8dc70b80183c83d9f43f1e6ab9970481efd (patch) | |
tree | 922c68d13315da3b6382d88c5012433e5c2649bc /gcc/tree-ssanames.c | |
parent | bdc67fd6a4576a1867bb0af8cd47aa819da6e2b3 (diff) | |
download | gcc-090cd8dc70b80183c83d9f43f1e6ab9970481efd.zip gcc-090cd8dc70b80183c83d9f43f1e6ab9970481efd.tar.gz gcc-090cd8dc70b80183c83d9f43f1e6ab9970481efd.tar.bz2 |
re PR tree-optimization/60505 (Warning caused by GCC vectorizer.)
2014-04-03 Cong Hou <congh@google.com>
PR tree-optimization/60505
* tree-vectorizer.h (struct _stmt_vec_info): Add th field as the
threshold of number of iterations below which no vectorization will be
done.
* tree-vect-loop.c (new_loop_vec_info):
Initialize LOOP_VINFO_COST_MODEL_THRESHOLD.
* tree-vect-loop.c (vect_analyze_loop_operations):
Set LOOP_VINFO_COST_MODEL_THRESHOLD.
* tree-vect-loop.c (vect_transform_loop):
Use LOOP_VINFO_COST_MODEL_THRESHOLD.
* tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number
of iterations of the loop and see if we should build the epilogue.
2014-04-03 Cong Hou <congh@google.com>
PR tree-optimization/60505
* gcc.dg/vect/pr60505.c: New test.
From-SVN: r209065
Diffstat (limited to 'gcc/tree-ssanames.c')
0 files changed, 0 insertions, 0 deletions