This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa-branch] Optimizing non-SIMPLE trees
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: 10 Aug 2002 20:55:08 -0400
- Subject: Re: [tree-ssa-branch] Optimizing non-SIMPLE trees
- References: <Pine.LNX.firstname.lastname@example.org>
On Fri, 2002-08-09 at 14:30, Daniel Berlin wrote:
> Turn them all into tree operands of the same type of tree, then ignore
> that type of tree.
The problem with the wrapping approach is that we have to undo it after
we're done and (maybe) every time we need to call the regular tree
functions from the optimizers.
> The alternative is to add a flag to the tree_common structure, but that
> takes up space in *all* trees.
Nope. We use the aux field. It's just a new bit in tree.aux.flags. We
only set it for trees we can't simplify and don't need to reset it
However, all this is moot. We should really strive for doing the right
thing and convert everything into SIMPLE. Special cases like this are