This is the mail archive of the gcc-patches@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]

Re: [tree-ssa] fold each statement


On Wed, Jan 07, 2004 at 11:14:29PM +0100, Jan Hubicka wrote:
> It can't be fully done in remove_useless_* because before SSA folding
> we miss come string simplification;

What do you mean by "ssa folding"?  Certainly there are no calls to
fold or fold_stmt from rewrite_into_ssa.

While I agree that it would be nice to do some builtin folding late
in the game, after constant propagation and the like, I don't see
what this has to do with this problem -- that of non-folded trees
coming out of gimplification.

Seems to me that we should fold during remove_useless_*, and then
fold just the builtins once more after (perhaps) ccp.



r~


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