Commit 8e094aa2 by H.J. Lu Committed by H.J. Lu

tree-parloops.c (parallelize_loops): Cast to HOST_WIDE_INT when comparing…

tree-parloops.c (parallelize_loops): Cast to HOST_WIDE_INT when comparing against estimated_loop_iterations_int return.

2009-09-03  H.J. Lu  <hongjiu.lu@intel.com>

	* tree-parloops.c (parallelize_loops): Cast to HOST_WIDE_INT
	when comparing against estimated_loop_iterations_int return.

From-SVN: r151378
parent e20c9328
2009-09-03 H.J. Lu <hongjiu.lu@intel.com>
* tree-parloops.c (parallelize_loops): Cast to HOST_WIDE_INT
when comparing against estimated_loop_iterations_int return.
2009-09-03 Richard Guenther <rguenther@suse.de>
* dwarf2out.c (dwarf2out_do_cfi_asm): Remove check of
......
......@@ -1908,7 +1908,8 @@ parallelize_loops (void)
/* FIXME: Bypass this check as graphite doesn't update the
count and frequency correctly now. */
if (!flag_loop_parallelize_all
&& (estimated_loop_iterations_int (loop, false)<= n_threads * MIN_PER_THREAD
&& ((estimated_loop_iterations_int (loop, false)
<= (HOST_WIDE_INT) n_threads * MIN_PER_THREAD)
/* Do not bother with loops in cold areas. */
|| optimize_loop_nest_for_size_p (loop)))
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment