<div>Thanks Duncan! You are right! If I type the command "opt -basicaa -mypass ...", then the output makes sense.</div><div><br></div><div>Now, how can you specify which AA to use in the code?</div><div><br></div>
<div><br></div><div>Regards,</div><div>Welson</div><div><br></div><br><br><div class="gmail_quote">On Thu, Feb 16, 2012 at 12:05 PM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Welson, the default alias analysis is -no-aa.  As the name suggests it<br>
just returns MayAlias for everything.  Maybe you are using that one?<br>
<br>
Best wishes, Duncan.<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Welson<div><br></div><div>Phone: (408) 418-8385</div><div>Email:  <a href="mailto:welson.sun@gmail.com" target="_blank">welson.sun@gmail.com</a></div><div><br>
</div><br>