This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r172640 - in /branches/gcc-4_6-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 18 Apr 2011 07:38:12 -0000
- Subject: r172640 - in /branches/gcc-4_6-branch/gcc: Chan...
Author: jakub
Date: Mon Apr 18 07:38:11 2011
New Revision: 172640
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172640
Log:
PR tree-optimization/48616
* tree-vect-stmts.c (vectorizable_shift): If SLP, determine
whether the shift is by scalar or vector based on whether all SLP
scalar stmts have the same rhs.
* gcc.dg/pr48616.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr48616.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
branches/gcc-4_6-branch/gcc/tree-vect-stmts.c