2012-02-20 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52298
* tree-vect-stmts.c (vectorizable_load): Properly use
STMT_VINFO_DR_STEP instead of DR_STEP when vectorizing
outer loops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184645
138bc75d-0d04-0410-961f-
82ee72b054a4
+2012-02-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ Partially revert:
+
+ 2012-02-20 Richard Guenther <rguenther@suse.de>
+ PR tree-optimization/52298
+ * tree-vect-stmts.c (vectorizable_load): Properly use
+ STMT_VINFO_DR_STEP instead of DR_STEP when vectorizing
+ outer loops.
+
2012-02-28 Aldy Hernandez <aldyh@redhat.com>
PR middle-end/51752
2012-02-28 Aldy Hernandez <aldyh@redhat.com>
PR middle-end/51752
nested within an outer-loop that is being vectorized. */
if (nested_in_vect_loop
nested within an outer-loop that is being vectorized. */
if (nested_in_vect_loop
- && (TREE_INT_CST_LOW (STMT_VINFO_DR_STEP (stmt_info))
+ && (TREE_INT_CST_LOW (DR_STEP (dr))
% GET_MODE_SIZE (TYPE_MODE (vectype)) != 0))
{
gcc_assert (alignment_support_scheme != dr_explicit_realign_optimized);
% GET_MODE_SIZE (TYPE_MODE (vectype)) != 0))
{
gcc_assert (alignment_support_scheme != dr_explicit_realign_optimized);