From: Richard Biener Date: Thu, 21 Nov 2019 09:16:46 +0000 (+0000) Subject: revert: re PR tree-optimization/91790 (ICE: verify_ssa failed (error: definition... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a877996fa38034348c569f2fe1651e88a99df737;p=gcc.git revert: re PR tree-optimization/91790 (ICE: verify_ssa failed (error: definition in block 2 follows the use)) 2019-11-21 Richard Biener Revert 2019-09-17 Richard Biener PR tree-optimization/91790 * tree-vect-stmts.c (vectorizable_load): For BB vectorization use the correct DR for setting up realignment. From-SVN: r278544 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a669c28da61..cfa7d61fb09 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2019-11-21 Richard Biener + + Revert + 2019-09-17 Richard Biener + + PR tree-optimization/91790 + * tree-vect-stmts.c (vectorizable_load): For BB vectorization + use the correct DR for setting up realignment. + 2019-11-21 Richard Biener * tree-ssa-structalias.c (equiv_class_hasher): Change to nofree. diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c index f76dff60221..951c57f7f34 100644 --- a/gcc/tree-vect-stmts.c +++ b/gcc/tree-vect-stmts.c @@ -9272,9 +9272,7 @@ vectorizable_load (stmt_vec_info stmt_info, gimple_stmt_iterator *gsi, || alignment_support_scheme == dr_explicit_realign) && !compute_in_loop) { - msq = vect_setup_realignment (first_stmt_info_for_drptr - ? first_stmt_info_for_drptr - : first_stmt_info, gsi, &realignment_token, + msq = vect_setup_realignment (first_stmt_info, gsi, &realignment_token, alignment_support_scheme, NULL_TREE, &at_loop); if (alignment_support_scheme == dr_explicit_realign_optimized)