tree-vect-loop.c (get_initial_def_for_reduction): Simplify, avoid adjusting by +...
authorRichard Biener <rguenther@suse.de>
Mon, 23 Sep 2019 10:21:45 +0000 (10:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 23 Sep 2019 10:21:45 +0000 (10:21 +0000)
commitd469a71e5a0eb512b522248841c56496abca8cd6
tree16869f55cd3ef8853276869ac5e93dd398f5efa1
parent4d411f1ff79a4cf60f4700ea0f1fec104687f20e
tree-vect-loop.c (get_initial_def_for_reduction): Simplify, avoid adjusting by + 0 or * 1.

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

* tree-vect-loop.c (get_initial_def_for_reduction): Simplify,
avoid adjusting by + 0 or * 1.
(vect_create_epilog_for_reduction): Get reduction code only
when necessary.  Deal with adjustment_def only when necessary.

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