tree-parloops.c (parloops_is_slp_reduction): Do not set LOOP_VINFO_OPERANDS_SWAPPED.
authorRichard Biener <rguenther@suse.de>
Thu, 19 Sep 2019 06:08:33 +0000 (06:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 19 Sep 2019 06:08:33 +0000 (06:08 +0000)
commita7268fd7652406b41707af0c4b49e8523b667360
tree3c28f85d214537d17b887d6b26698537094b1ac7
parentfbd33afe4728f16789a37fe0a86fb0079d366b69
tree-parloops.c (parloops_is_slp_reduction): Do not set LOOP_VINFO_OPERANDS_SWAPPED.

2019-09-19  Richard Biener  <rguenther@suse.de>

* tree-parloops.c (parloops_is_slp_reduction): Do not set
LOOP_VINFO_OPERANDS_SWAPPED.
(parloops_is_simple_reduction): Likewise.
* tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Do not
initialize operands_swapped.
(_loop_vec_info::~_loop_vec_info): Do not re-canonicalize stmts.
(vect_is_slp_reduction): Do not swap operands.
* tree-vectorizer.h (_loop_vec_info::operands_swapped): Remove.
(LOOP_VINFO_OPERANDS_SWAPPED): Likewise.

From-SVN: r275928
gcc/ChangeLog
gcc/tree-parloops.c
gcc/tree-vect-loop.c
gcc/tree-vectorizer.h