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/16447] out of ssa generates bloated code


------- Additional Comments From amacleod at redhat dot com  2004-09-29 20:21 -------
I think the best way to do this is to add a short analysis pass in the out of
ssa pass, immediately before we commit the final edge insertions.

Take a look at the predecessors of each basic block, and find any edges which
have the same set of stmts on it. Commit one of these edges, if it generates a
new basic block, simply redirect all the other matching edges to that block, and
remove the PENDING_STMTS list for those edges.

I've started a basic implementation.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2004-07-09 04:02:25         |2004-09-29 20:21:29
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16447


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