Hi Tobi,<div><br></div><div>Thanks for the response, could you point me to the source files of the memory dependence pass?</div><div><br></div><div>Thanks</div><div>Nipun<br><br><div class="gmail_quote">On Mon, Mar 28, 2011 at 2:46 PM, Tobias Grosser <span dir="ltr"><<a href="mailto:grosser@fim.uni-passau.de">grosser@fim.uni-passau.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On 03/28/2011 12:15 PM, Nipun Arora wrote:<br>
> Hi,<br>
><br>
> I have been trying to run the memdep analysis using opt with the<br>
> following command: opt -analyze -memdep <*.bc>.<br>
> However, I keep getting the following error: Pass::print not implemented<br>
> for pass: 'Memory Dependence Analysis' ! .<br>
> I get similar errors for a lot of the analyses passes, which seem as if<br>
> they should have a print out?<br>
><br>
> Is there any other memory dependence analysis which gives me a memory<br>
> dependence graph or something similar via a static analysis, with must<br>
> or maybe memory dependencies?<br>
<br>
</div></div>Hi Nipon,<br>
<br>
you may try Polly[1]. It inclused a pretty sophisticated memory<br>
dependency analysis for parts of the program, where the control flow is<br>
statically known. We currently support must_dependences and can<br>
eliminate transitive dependences. There is also support for<br>
may_dependences, but it is not yet hooked up to the rest.<br>
<br>
If you are interested, an example how to use Polly (and its dependency<br>
analysis) is shown at the bottom of this wiki page[1]. If you need<br>
further help let me know.<br>
<br>
Cheers<br>
Tobi<br>
<br>
<br>
[1] <a href="http://wiki.llvm.org/Polly" target="_blank">http://wiki.llvm.org/Polly</a><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"><br>-- <br>Nipun Arora<br>Doctoral Student<br>Dept. of Computer Science<br>Columbia University<br><br><br>
</div>