[PATCH] Permanent Fix for PR46886

Razya Ladelsky RAZYA@il.ibm.com
Mon Mar 26 11:11:00 GMT 2012


Hi,

This is (hopefully) a permanent fix  to pr46886.c
I removed the condition preventing parallelization of do_while loops, as 
it 
was blocking parallelizing important loops in spec-2006.
The patch fixes the number of iterations for cases where the body could 
appear in the latch, as in pr46886.c.

2012-03-26  Razya Ladelsky  <razya@il.ibm.com>

                 PR tree-optimization/46886
                 * tree-parloops.c (transform_to_exit_first_loop):Set 
number of iterations correctly when the body may appear at the latch.
                 (pallelize_loops): Remove the condition preventing 
do-while loops.
 


Bootstrap and testsuite psss successfully on power7 linux machine.
Ok to commit?
Thanks,



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr46886_final_fix.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120326/7e4b1802/attachment.txt>


More information about the Gcc-patches mailing list