re PR tree-optimization/87790 (ICE in vect_get_vec_def_for_operand_1, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Mon, 29 Oct 2018 14:57:52 +0000 (14:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 29 Oct 2018 14:57:52 +0000 (14:57 +0000)
commit6c7e3b1fe2889136348984edeca7f9ae71d40027
treec44ef768f9ec0572e1d5c3cdf2954b34aa384cb9
parent87a5ccfb7cbabcf510f7909387a16cc0f73931f3
re PR tree-optimization/87790 (ICE in vect_get_vec_def_for_operand_1, at tree-vect-stmts.c:1475)

2018-10-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87790
* tree-vect-slp.c (vect_mark_slp_stmts): Simplify.
(vect_make_slp_decision): Adjust.
(vect_slp_analyze_bb_1): Likewise.
(vect_detect_hybrid_slp_stmts): Properly union SLP type over
edges.

* gcc.dg/pr87790.c: New testcase.

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