This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16447] out of ssa generates bloated code
- From: "amacleod at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Sep 2004 20:21:30 -0000
- Subject: [Bug tree-optimization/16447] out of ssa generates bloated code
- References: <20040709032906.16447.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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