mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-26 04:04:04 +08:00
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:
parent
6d40c48924
commit
e324a72fe6
@ -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
|
||||
|
@ -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");
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user