This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa] Removing redundant loads
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Jeff Law <law at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: 29 May 2003 17:50:14 -0400
- Subject: Re: [tree-ssa] Removing redundant loads
- Organization: Red Hat Canada
- References: <02A2A111-921D-11D7-A362-000A95A34564@dberlin.org>
On Thu, 2003-05-29 at 17:32, Daniel Berlin wrote:
> Right. So why are we spending time on implementing into-SSA
Because we can?
They come at essentially zero cost as they are piggy-backed to the SSA
renamer pass. They catch easy things that help us save time on later
passes. They give us something we still don't have (copy-prop,
Again, once we start testing different combinations of passes we'll find
out which one we like best. It's very easy to test, really. But we
first need to have them implemented.
One potential scenario would be to enable the dominator-based
optimizations at -O1 (they're really blazingly fast) and have PRE run at
-O2 or higher.