tree-vect-patterns.c (vect_single_imm_use): Correct return values from false to NULL.
* tree-vect-patterns.c (vect_single_imm_use): Correct return values from false to NULL. From-SVN: r187182
This commit is contained in:
parent
6a5b5af766
commit
3e21932c3b
|
@ -1,3 +1,8 @@
|
|||
2012-05-04 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* tree-vect-patterns.c (vect_single_imm_use): Correct return
|
||||
values from false to NULL.
|
||||
|
||||
2012-05-04 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
Backport from mainline
|
||||
|
|
|
@ -101,10 +101,10 @@ vect_single_imm_use (gimple def_stmt)
|
|||
return NULL;
|
||||
|
||||
if (!gimple_bb (use_stmt))
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
if (!flow_bb_inside_loop_p (loop, gimple_bb (use_stmt)))
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
gcc_assert (vinfo_for_stmt (use_stmt));
|
||||
return use_stmt;
|
||||
|
|
Loading…
Reference in New Issue