re PR tree-optimization/61634 (ICE in in vect_get_vec_def_for_operand, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Thu, 27 Nov 2014 09:33:32 +0000 (09:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 27 Nov 2014 09:33:32 +0000 (09:33 +0000)
commit642fce57a7208339a4f55ff8c3ce377a2cfa4738
tree73af2fc6f50518b9204c2c22955efa0f2226accd
parent22273d1adbff93ebca70943be269e89d094c12e3
re PR tree-optimization/61634 (ICE in in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1423)

2014-11-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/61634
* tree-vect-slp.c: Include gimple-walk.h.
(vect_detect_hybrid_slp_stmts): Rewrite to propagate hybrid
down the SLP tree for one scalar statement.
(vect_detect_hybrid_slp_1): New walker function.
(vect_detect_hybrid_slp_2): Likewise.
(vect_detect_hybrid_slp): Properly handle pattern statements
in a pre-scan over all loop stmts.

* gcc.dg/vect/pr61634.c: New testcase.

From-SVN: r218113
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr61634.c [new file with mode: 0644]
gcc/tree-vect-slp.c