[llvm-dev] basicaa pass not used despite using the switch when custom opt pass uses dependence analysis

kavitha madhu via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 24 18:34:08 PDT 2017


I have written a custom optimization pass referred to here as
"mypassname" that uses dependence analysis. I run it as follows:
./opt  --load  ../lib/mypass.so  -basicaa -da -mypassname sample.ll -S -o
sample2.ll -debug-pass=Arguments

Despite using basicaa switch right before mypassname, noaa is invoke by
dependence analysis pass. Pass analysis arguments are printed twice:

Pass Arguments:  -targetlibinfo -datalayout -notti -basictti -no-aa
-basicaa -HyperOpCreationPass -preverify -domtree -verify -print-module
Pass Arguments:  -no-aa -targetlibinfo -domtree -loops -scalar-evolution -da

How do I force basicaa to be used in dependence analysis?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170325/4a473bfc/attachment.html>


More information about the llvm-dev mailing list