re PR tree-optimization/65494 (Loop is not vectorized because of operand canonicaliza...
authorRichard Biener <rguenther@suse.de>
Mon, 23 Mar 2015 12:47:54 +0000 (12:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 23 Mar 2015 12:47:54 +0000 (12:47 +0000)
commit89d390e57a34432f9a8f14b752eec061fcb2b64e
tree6b21732ccd16640529efa5c8589edbb5d82d1f92
parentc61928d098559fedd9032e4292740ba020103629
re PR tree-optimization/65494 (Loop is not vectorized because of operand canonicalization.)

2015-03-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/65494
* tree-vect-slp.c (vect_build_slp_tree): Do not (re-)allocate
matches here.
(vect_analyze_slp_instance): But do that here, always and once.

* gcc.dg/vect/pr65494.c: New testcase.

From-SVN: r221592
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr65494.c [new file with mode: 0644]
gcc/tree-vect-slp.c