This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/66642] transform_to_exit_first_loop_alt doesn't use result of low iteration count loop


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66642

--- Comment #5 from vries at gcc dot gnu.org ---
Author: vries
Date: Tue Jun 30 09:57:40 2015
New Revision: 225167

URL: https://gcc.gnu.org/viewcvs?rev=225167&root=gcc&view=rev
Log:
Add empty loop exit block in transform_to_exit_first_loop_alt

2015-06-30  Tom de Vries  <tom@codesourcery.com>

        PR tree-optimization/66642
        * tree-parloops.c (transform_to_exit_first_loop_alt): Update function
        header comment.  Rename split_edge variable to edge_at_split.  Split
        exit edge to create new loop exit bb.  Insert loop exit phis in new
loop
        exit bb.

        * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Test low
        iteration count case.
        * testsuite/libgomp.c/parloops-exit-first-loop-alt.c (init): New
        function, factor out of ...
        (main): ... here.  Test low iteration count case.

Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/tree-parloops.c
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c
   
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c/parloops-exit-first-loop-alt.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]