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 Sat, Jan 10, 2004 at 01:13:30PM +0100, Jan Hubicka wrote:
> > Seems to me that we should fold during remove_useless_*, and then
> > fold just the builtins once more after (perhaps) ccp.
> 
> CCP folds only statements it propagate into, but it is still possible to
> have builtin that is foldable by walking SSA graph but none of it's
> operand constant propagate, so with current design we have to do
> fold_stmt call on each statement once in when the graph is in the SSA
> form.  

Yes, that's what I just said.


r~


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