songlh
2014-Oct-15 13:38 UTC
[LLVMdev] how to choose which alias analysis used in my pass?
Hi, I want to use memory dependence analysis in my pass, but I feel the default alias analysis is not precise enough. How could I choose to use another alias analysis algorithm? I have tried opt -load mypass.so -basicaa xx.bc > /dev/null. But I feel the alias analysis algorithm does not change. Do I need to add something in my codes? Thanks a lot! Best, Linhai
Jingyue Wu
2014-Oct-15 19:50 UTC
[LLVMdev] how to choose which alias analysis used in my pass?
Isn't -basicaa the default alias analysis already? Jingyue On Wed Oct 15 2014 at 6:42:59 AM songlh <songlh at cs.wisc.edu> wrote:> Hi, > > I want to use memory dependence analysis in my pass, but I feel the > default alias analysis is not precise enough. How could I choose to use > another alias analysis algorithm? I have tried opt -load mypass.so > -basicaa xx.bc > /dev/null. But I feel the alias analysis algorithm does > not change. Do I need to add something in my codes? > > Thanks a lot! > > Best, > > Linhai > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141015/329344ab/attachment.html>
Hal Finkel
2014-Oct-15 19:56 UTC
[LLVMdev] how to choose which alias analysis used in my pass?
----- Original Message -----> From: "Jingyue Wu" <jingyue at google.com> > To: "songlh" <songlh at cs.wisc.edu>, llvmdev at cs.uiuc.edu > Sent: Wednesday, October 15, 2014 2:50:12 PM > Subject: Re: [LLVMdev] how to choose which alias analysis used in my pass? > > > Isn't -basicaa the default alias analysis already?No, -basicaa is added (along with several others) when -O3 (or similar) is provided, but you'll only get -noaa if you run opt without specifying anything else. -Hal> > Jingyue > > > On Wed Oct 15 2014 at 6:42:59 AM songlh < songlh at cs.wisc.edu > wrote: > > > Hi, > > I want to use memory dependence analysis in my pass, but I feel the > default alias analysis is not precise enough. How could I choose to > use > another alias analysis algorithm? I have tried opt -load mypass.so > -basicaa xx.bc > /dev/null. But I feel the alias analysis algorithm > does > not change. Do I need to add something in my codes? > > Thanks a lot! > > Best, > > Linhai > ______________________________ _________________ > 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 >-- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory
Reasonably Related Threads
- [LLVMdev] how to choose which alias analysis used in my pass?
- [LLVMdev] how to identify basic blocks added for switch instruction without default?
- [LLVMdev] question about licm
- [LLVMdev] question about licm
- [LLVMdev] [LLVMDEV]How could I get function name in this situation?