On Fri, 13 Jun 2014, Jan Hubicka wrote:

> > 
> > When you extract the address and use it.  For example when you
> > do auto-parallelization and outline a part of your function it
> > passes arrays as addresses.
> > 
> > Or if you start to introduce address induction variables like
> > the vectorizer or IVOPTs does.
> 
> I see, nothing really done by current early/IPA optimizers and in those cases
> we also want to set TREE_ADDRESSABLE bit, too I suppose.
> Do you think I should make patch for setting the NOVOPS bits in ipa code?

No, please don't introduce new users of NOVOPS (it's a quite broken
hack - it's sth like a 'const' function with side-effects so we should
have instead used 'const' and some kind of volatile flag).  We're
not using NOVOPS much and that's good (I think handling of such
function calls are somewhat broken).

Richard.

Reply via email to