re PR tree-optimization/70729 (Loop marked with omp simd pragma is not vectorized)
PR tree-optimization/70729 gcc/ * tree-vectorizer.c (adjust_simduid_builtins): Nullify safelen field of loop since it can be not valid after transformation. From-SVN: r237907
This commit is contained in:
parent
02c19e2bc7
commit
677ef4dd37
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2016-07-01 Yuri Rumyantsev <ysrumyan@gmail.com>
|
||||
|
||||
PR tree-optimization/70729
|
||||
* tree-vectorizer.c (adjust_simduid_builtins): Nullify safelen field
|
||||
of loop since it can be not valid after transformation.
|
||||
|
||||
2016-07-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
* config/arm/arm.c (thumb_reload_in_hi): Delete.
|
||||
|
|
|
@ -204,6 +204,10 @@ adjust_simduid_builtins (hash_table<simduid_to_vf> *htab)
|
|||
gcc_assert (TREE_CODE (arg) == SSA_NAME);
|
||||
simduid_to_vf *p = NULL, data;
|
||||
data.simduid = DECL_UID (SSA_NAME_VAR (arg));
|
||||
/* Need to nullify loop safelen field since it's value is not
|
||||
valid after transformation. */
|
||||
if (bb->loop_father && bb->loop_father->safelen > 0)
|
||||
bb->loop_father->safelen = 0;
|
||||
if (htab)
|
||||
{
|
||||
p = htab->find (&data);
|
||||
|
|
Loading…
Add table
Reference in a new issue