tree-ssa-loop.c (pass_loop_prefetch): Change name to aprefetch.

* tree-ssa-loop.c (pass_loop_prefetch): Change name to aprefetch.
	* tree-ssa-loop-prefetch.c (dump_mem_ref): Fix target file.
	(tree_ssa_prefetch_arrays): Do not dump for removed loops.

From-SVN: r118691
This commit is contained in:
Zdenek Dvorak 2006-11-11 11:15:18 +01:00 committed by Zdenek Dvorak
parent 6d40c48924
commit e324a72fe6
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2006-11-11 Zdenek Dvorak <dvorakz@suse.cz>
* tree-ssa-loop.c (pass_loop_prefetch): Change name to aprefetch.
* tree-ssa-loop-prefetch.c (dump_mem_ref): Fix target file.
(tree_ssa_prefetch_arrays): Do not dump for removed loops.
2006-11-11 Richard Sandiford <richard@codesourcery.com>
PR middle-end/27528

View File

@ -217,7 +217,7 @@ dump_mem_ref (FILE *file, struct mem_ref *ref)
fprintf (file, HOST_WIDE_INT_PRINT_DEC, ref->group->step);
fprintf (file, ")\n");
fprintf (dump_file, " delta ");
fprintf (file, " delta ");
fprintf (file, HOST_WIDE_INT_PRINT_DEC, ref->delta);
fprintf (file, "\n");
@ -1048,12 +1048,13 @@ tree_ssa_prefetch_arrays (struct loops *loops)
for (i = loops->num - 1; i > 0; i--)
{
loop = loops->parray[i];
if (!loop)
continue;
if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, "Processing loop %d:\n", loop->num);
if (loop)
unrolled |= loop_prefetch_arrays (loops, loop);
unrolled |= loop_prefetch_arrays (loops, loop);
if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, "\n\n");

View File

@ -426,7 +426,7 @@ gate_tree_ssa_loop_prefetch (void)
struct tree_opt_pass pass_loop_prefetch =
{
"prefetch", /* name */
"aprefetch", /* name */
gate_tree_ssa_loop_prefetch, /* gate */
tree_ssa_loop_prefetch, /* execute */
NULL, /* sub */