This is the mail archive of the gcc@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: cgraph_node::verify - quite strong condition that was met by IPA-ICF


Hi,

On Fri, Sep 26, 2014 at 10:34:16AM +0200, Richard Biener wrote:
>

...

> 
> Btw, isn't cgraph edge redirection a "transform" step?  Thus why is
> it performed at WPA time at all?  Shouldn't it be performed at LTRANS
> time the same time we materialize clones and inline?
> 

No, not really, changing the callee of an edge is how at WPA stage we
record the decision to redirect the given call to a different target
(an ipa-cp clone or now a semantic equivalent).  The gimple statement
change (which is the real "transform" here I suppose) is done at
LTRANS but is verified like it was an ipa-cp redirection and fails.

Martin


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