re PR tree-optimization/92645 (Hand written vector code is 450 times slower when...
authorRichard Biener <rguenther@suse.de>
Tue, 26 Nov 2019 08:32:38 +0000 (08:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 26 Nov 2019 08:32:38 +0000 (08:32 +0000)
commitf4a74d2786ec812e40cfd0b3b7fa3cbeb2093444
tree31c5b6b2f32b1d2e72dbecf908678ad3b98a9ce9
parent59d37e97093b1b9f9498e61ee648557479e79cd4
re PR tree-optimization/92645 (Hand written vector code is 450 times slower when compiled with GCC compared to Clang)

2019-11-26  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92645
* tree-vect-slp.c (vect_build_slp_tree_2): For unary ops
do not build the operation from scalars if the operand is.

* gcc.target/i386/pr92645.c: New testcase.

From-SVN: r278719
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr92645.c [new file with mode: 0644]
gcc/tree-vect-slp.c