PR tree-optimization/20501
authordorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Mar 2005 15:52:59 +0000 (15:52 +0000)
committerdorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Mar 2005 15:52:59 +0000 (15:52 +0000)
        * tree-vect-analyze.c (vect_enhance_data_refs_alignment): Debug print
        reporting that peeling for alignment is applied moved to...
        * (vect_analyze_data_refs_alignment): Here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96932 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 47f3592..223b673 100644 (file)
@@ -1,3 +1,10 @@
+2005-03-23  Dorit Naishlos  <dorit@il.ib.com>
+       PR tree-optimization/20501
+       * tree-vect-analyze.c (vect_enhance_data_refs_alignment): Debug print
+       reporting that peeling for alignment is applied moved to...
+       * (vect_analyze_data_refs_alignment): Here.
+
 2005-03-23  Ian Lance Taylor  <ian@airs.com>
 
        * reorg.c (dbr_schedule): Remove #if 0 code to call final.
index dd9342a..f3144e1 100644 (file)
@@ -1183,8 +1183,6 @@ vect_enhance_data_refs_alignment (loop_vec_info loop_vinfo)
        }
 
       DR_MISALIGNMENT (dr0) = 0;
-      if (vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo)))
-       fprintf (vect_dump, "Alignment of access forced using peeling.");
     }
 }
 
@@ -1260,6 +1258,9 @@ vect_analyze_data_refs_alignment (loop_vec_info loop_vinfo)
          && (vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo))))
        fprintf (vect_dump, "Vectorizing an unaligned access.");
     }
+  if (LOOP_VINFO_UNALIGNED_DR (loop_vinfo)
+      && vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo)))
+    fprintf (vect_dump, "Alignment of access forced using peeling.");
 
   return true;
 }