[LLVMdev] Wrong AliasAnalysis::getModRefInfo result

Welson Sun 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?


Regards,
Welson



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
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



-- 
Welson

Phone: (408) 418-8385
Email:  welson.sun at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120216/42501931/attachment.html>


More information about the llvm-dev mailing list