* tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore
cold loops.
From-SVN: r123843
+2007-04-11 Zdenek Dvorak <dvorakz@suse.cz>
+
+ * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore
+ cold loops.
+
2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR c/31520
struct tree_niter_desc desc;
bool unrolled = false;
+ if (!maybe_hot_bb_p (loop->header))
+ {
+ if (dump_file && (dump_flags & TDF_DETAILS))
+ fprintf (dump_file, " ignored (cold area)\n");
+ return false;
+ }
+
/* Step 1: gather the memory references. */
refs = gather_memory_references (loop);