kavitha madhu via llvm-dev
2017-Mar-25 01:34 UTC
[llvm-dev] 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/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>