]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/92222 (ice in useless_type_conversion_p, at gimple-expr.c:86)
authorRichard Biener <rguenther@suse.de>
Fri, 25 Oct 2019 13:03:56 +0000 (13:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 25 Oct 2019 13:03:56 +0000 (13:03 +0000)
commit7098ab48b08782af5016dc8ac6d10215994447a4
tree5d27d2ddaa20b183311d9a7fa54f6a637c3a57c3
parent77100812a3bf4c693cb24c65be54ea367f17a246
re PR tree-optimization/92222 (ice in useless_type_conversion_p, at gimple-expr.c:86)

2019-10-25  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92222
* tree-vect-slp.c (_slp_oprnd_info::first_pattern): Remove.
(_slp_oprnd_info::second_pattern): Likewise.
(_slp_oprnd_info::any_pattern): New.
(vect_create_oprnd_info): Adjust.
(vect_get_and_check_slp_defs): Compute whether any stmt is
in a pattern.
(vect_build_slp_tree_2): Avoid building up a node from scalars
if any of the operand defs, not just the first, is in a pattern.

* gcc.dg/torture/pr92222.c: New testcase.

From-SVN: r277448
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr92222.c [new file with mode: 0644]
gcc/tree-vect-slp.c
This page took 0.070444 seconds and 5 git commands to generate.