basicaa pass not used despite using the switch when custom opt pass uses dependence analysis

I have written a custom optimization pass referred to here as “mypassname” that uses dependence analysis. I run it as follows:

./opt --load …/lib/ -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?