[LLVMdev] Alias analysis result

Duncan Sands baldrick at free.fr
Thu Mar 8 08:55:40 PST 2012


Hi,

> That's the reason I have defined getAnalysisUsage method. Isn't that the
> right way to do it?

no, that gives you access to whatever alias analysis has been computed, but
it doesn't specify what kind of alias analysis should be computed (there are
several).  Try something like this:
   opt -load=my_pass.so -basic-aa -run_my_pass ...
Ciao, Duncan.



More information about the llvm-dev mailing list