revert: re PR tree-optimization/91790 (ICE: verify_ssa failed (error: definition...
authorRichard Biener <rguenther@suse.de>
Thu, 21 Nov 2019 09:16:46 +0000 (09:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 21 Nov 2019 09:16:46 +0000 (09:16 +0000)
2019-11-21  Richard Biener  <rguenther@suse.de>

Revert
2019-09-17  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91790
* tree-vect-stmts.c (vectorizable_load): For BB vectorization
use the correct DR for setting up realignment.

From-SVN: r278544

gcc/ChangeLog
gcc/tree-vect-stmts.c

index a669c28da618004bcc9859a558b40cb1638a6415..cfa7d61fb0997e2f36d0e68565fe1fd886c30add 100644 (file)
@@ -1,3 +1,12 @@
+2019-11-21  Richard Biener  <rguenther@suse.de>
+
+       Revert
+       2019-09-17  Richard Biener  <rguenther@suse.de>
+
+       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  <rguenther@suse.de>
 
        * tree-ssa-structalias.c (equiv_class_hasher): Change to nofree.
index f76dff602214773c1cc4ade5a2c0940bd6fdafbf..951c57f7f3480a70d245ae4a8bb91098a2d87186 100644 (file)
@@ -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)