Hi there,<br><br>I am doing:<br><br>opt -print-memdeps ./test.bc -analyze -globalsmodref-aa<br><br>by adding globalsmodref-aa, I am hoping that globalsmodref alias analysis will be used. However, it does not turn out to be so. I found this out by adding some "errs() << " into the source code for that alias analysis.<br>
<br>So my question is what should I do to let memory dependency analysis use globalsmodref alias analysis.<br><br>I have tried other alias analysis and found out that if basic-aa and tbaa can be utilized, but not -libcall-aa -globalsmodref-aa.<br>
<br>I also found out that -libcall-aa -globalsmodref-aa has member function runOnFunction and runOnModule respectively, but basic-aa and tbaa do not.<br><br>Again, my question is what should I do to let memory dependency analysis use globalsmodref alias analysis.<br>
<br>Thanks,<br>Guoliang<br>