diff options
author | Dorit Naishlos <dorit@il.ibm.com> | 2005-03-23 15:52:59 +0000 |
---|---|---|
committer | Dorit Nuzman <dorit@gcc.gnu.org> | 2005-03-23 15:52:59 +0000 |
commit | 0e6b0dafa31335e74c230356f71d0356089a3a3f (patch) | |
tree | 2419d642b664232b0c44a823517b4fc4dce664de | |
parent | 81e974f22ec3484facb70bcfa892c16b0b20e3c1 (diff) | |
download | gcc-0e6b0dafa31335e74c230356f71d0356089a3a3f.zip gcc-0e6b0dafa31335e74c230356f71d0356089a3a3f.tar.gz gcc-0e6b0dafa31335e74c230356f71d0356089a3a3f.tar.bz2 |
re PR tree-optimization/20501 (gcc.dg/vect/vect-93.c fails on ia64-hpux)
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.
From-SVN: r96932
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/tree-vect-analyze.c | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 47f3592..223b673 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c index dd9342a..f3144e1 100644 --- a/gcc/tree-vect-analyze.c +++ b/gcc/tree-vect-analyze.c @@ -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; } |