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
Duncan Sands
2012-Feb-12 15:26 UTC
[LLVMdev] llvm interprocedural analysis and optimization
On 12/02/12 16:10, Xin Tong wrote:> If I turn on one of the llvm interprocedural optimizations without > turning on the analysis it uses. will the analysis be turned on > automatically ?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 On 2/12/2012 10:10 AM, Xin Tong wrote:> 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 > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
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 On Sun, Feb 12, 2012 at 10:36 AM, Chuck Zhao <czhao at eecg.toronto.edu> wrote:> 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 > > On 2/12/2012 10:10 AM, Xin Tong wrote: >> 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 >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev