[LLVMdev] Wrong AliasAnalysis::getModRefInfo result
welson.sun at gmail.com
Thu Feb 16 13:27:05 PST 2012
Thanks Duncan! You are right! If I type the command "opt -basicaa -mypass
...", then the output makes sense.
Now, how can you specify which AA to use in the code?
On Thu, Feb 16, 2012 at 12:05 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Welson, the default alias analysis is -no-aa. As the name suggests it
> just returns MayAlias for everything. Maybe you are using that one?
> Best wishes, Duncan.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
Phone: (408) 418-8385
Email: welson.sun at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev