tree-optimization/94965 - fix typo in vec_info * passing
authorRichard Biener <rguenther@suse.de>
Wed, 6 May 2020 08:46:22 +0000 (10:46 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 6 May 2020 09:01:37 +0000 (11:01 +0200)
Should have passed vinfo, not loop_vinfo.

2020-05-06  Richard Biener  <rguenther@suse.de>

PR tree-optimization/94965
* tree-vect-stmts.c (vectorizable_load): Fix typo.

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

index ed91bfa4f4ed6718ef320af37036362d27d8180e..e0dd54cdfe7468fbfd75b9dda074804d05a1be94 100644 (file)
@@ -1,3 +1,8 @@
+2020-05-06  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/94965
+       * tree-vect-stmts.c (vectorizable_load): Fix typo.
+
 2020-05-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * doc/install.texi: Replace Sun with Solaris as appropriate.
index 33210e1485b5b08083e3bdc28af3e723c09dc1cd..c41c7e3eb9b3a1fe1ebe3ad07635b1f9c66e5cbf 100644 (file)
@@ -9364,7 +9364,7 @@ vectorizable_load (vec_info *vinfo,
         initialized yet, use first_stmt_info_for_drptr DR by bumping the
         distance from first_stmt_info DR instead as below.  */
       if (!diff_first_stmt_info)
-       msq = vect_setup_realignment (loop_vinfo,
+       msq = vect_setup_realignment (vinfo,
                                      first_stmt_info, gsi, &realignment_token,
                                      alignment_support_scheme, NULL_TREE,
                                      &at_loop);