tree-vect-loop.c (vect_is_simple_reduction): Remove operand swapping.
authorRichard Biener <rguenther@suse.de>
Wed, 18 Sep 2019 18:12:38 +0000 (18:12 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 18 Sep 2019 18:12:38 +0000 (18:12 +0000)
commit901083b9bdf69a7b1382f9682c6fd1d5759667dd
tree9c77cde3f7751a290ea654e59247df13d68e5f01
parent6f1628c9df05591721192193f6364e316e45c6c1
tree-vect-loop.c (vect_is_simple_reduction): Remove operand swapping.

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

* tree-vect-loop.c (vect_is_simple_reduction): Remove operand
swapping.
(vectorize_fold_left_reduction): Remove assert.
(vectorizable_reduction): Also expect COND_EXPR non-reduction
operand in position 2.  Remove assert.

From-SVN: r275898
gcc/ChangeLog
gcc/tree-vect-loop.c