llvm interprocedural analysis and optimization

If I turn on one of the llvm interprocedural optimizations without
turning on the analysis it uses. will the analysis be turned on
automatically ?

Thanks

Xin

Yes.

Ciao, Duncan.

There is/are implicit dependency for the optimization on its analysis.
So, if you run the optimization, the analysis will be turned on implicitly, through the PassManager.

Chuck

I am investigating llvm ipo on a set of simple C benchmarks. I am
wondering what would be a good analysis for this task. Basic Alias
Analysis (stateless AA impl) sounds too simple, and also, is there a
strong mod/ref analysis pass in llvm besides mod/ref analysis for
global (enabled with -globalsmodref-aa).

Thank you

Xin