re PR tree-optimization/58497 (SLP vectorizes identical operations)
authorRichard Biener <rguenther@suse.de>
Thu, 22 Oct 2015 13:36:46 +0000 (13:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 22 Oct 2015 13:36:46 +0000 (13:36 +0000)
commit975b6ff3d722800c911461f3cd9b3408623dff96
tree0c7f7637d1a8957491ab525f81731c05eee52b6f
parent90a7a1b5b2c551158ccddbaad17d8b8021faa409
re PR tree-optimization/58497 (SLP vectorizes identical operations)

2015-10-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/58497
* tree-vect-generic.c (ssa_uniform_vector_p): New helper.
(expand_vector_operations_1): Use it.  Lower operations on
all uniform vectors to scalar operations if the HW supports it.

* gcc.dg/tree-ssa/vector-5.c: New testcase.

From-SVN: r229173
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/vector-5.c [new file with mode: 0644]
gcc/tree-vect-generic.c