[PATCH] Refine (compile-time) profitability condition
Razya Ladelsky
RAZYA@il.ibm.com
Thu Nov 19 10:14:00 GMT 2009
Hi,
This patch is a small refinement to the estimated_loop_iterations_int
condition:
in the case that estimated_loop_iterations_int returns -1, we do try to
parallelize.
num_iters.c is a representing testcase.
Testing it now.
Ok to commit if passes successfully?
Thanks,
Razya
2009-11-19 Razya Ladelsky <razya@il.ibm.com>
* tree-parloops.c (parallelize_loops): Adjust
estimated_loop_iterations_int condition.
* testsuite/gcc.dg/autopar/num_iters.c: New testcase.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: estimated.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091119/07aa933d/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: num_iters.c
Type: application/octet-stream
Size: 717 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091119/07aa933d/attachment.obj>
More information about the Gcc-patches
mailing list