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: [patch/committed] PR middle-end/65233 make walk-ssa_copies handle empty PHIs


> >
> > It gets passed the valueize callback now which returns NULL_TREE for
> > SSA names we can't follow.
> 
> Btw, for match-and-simplify I had to use that as default for fold_stmt
> _exactly_ because of the call to fold_stmt from replace_uses_by
> via merge-blocks from cfgcleanup.  This is because replace-uses-by
> doesn't have all uses replaced before it folds the stmt!
> 
> We also have the "weaker" in-place flag.
> 
> 2015-03-04  Richard Biener  <rguenther@suse.de>
> 
>         PR middle-end/65233
>         * ipa-polymorphic-call.c: Include tree-ssa-operands.h and
>         tree-into-ssa.h.
>         (walk_ssa_copies): Revert last chage.  Instead do not walk
>         SSA names registered for SSA update.

Maybe include the patch?  It should not be problem to make the function
to valuelize everything it looks into.

Honza


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