<div dir="ltr">Hello John,<div><br></div><div>What opt command line arguments are you using?</div><div><br></div><div>If you follow <a href="http://llvm.org/docs/Passes.html#no-aa-no-alias-analysis-always-returns-may-alias" target="_blank">this link</a>, you can see that -no-aa is the default alias analysis implementation if you do not manually specify which AA passes you want to use. Note that you can pass as many different implementations of AA as you want, and each of them will be chained together for each function, like a pipeline, if the previous one was not able to determine if there is a dependence or not.</div>


<div><br></div><div>Hope this help,</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><br>--<br>Cristianno Martins<br>PhD Student of Computer Science<br>University of Campinas<br><a href="mailto:cmartins@ic.unicamp.br" target="_blank">cmartins@ic.unicamp.br</a><br>

<a href="mailto:cristiannomartins@hotmail.com" target="_blank"></a></div>
<br><br><div class="gmail_quote">On Wed, Jul 10, 2013 at 1:24 PM, John Criswell <span dir="ltr"><<a href="mailto:criswell@illinois.edu" target="_blank">criswell@illinois.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Dear All,<br>
<br>
I'm trying to add a new alias analysis to the alias analysis group in LLVM 3.2.  This new pass is linked statically into a tool that lives outside the LLVM source tree, so I'm trying to avoid making patches to the LLVM sources.<br>


<br>
I've added the INITIALIZE_AG_PASS_BEGIN() and INITIALIZE_AG_PASS_END() code to the pass, manually scheduled it before the MemoryDependenceAnalysis pass, and have tried making it a FunctionPass and an ImmutablePass, but no matter what I do, it seems like MemoryDependenceAnalysis and other passes keep using the -no-aa default pass instead.<br>


<br>
1) Does anyone have ideas on how to verify that my pass is part of the alias analysis group?<br>
<br>
2) Does anyone have any ideas on what I might be doing wrong?<br>
<br>
Any ideas would be appreciated.<br>
<br>
Thanks in advance,<br>
<br>
-- John T.<br>
<br>
<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">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/<u></u>mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div>