[PATCH] D31642: [CodeGen] Add a 'NoAAResultsWrapperPass', and use it in SDAG/2Addr.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 21:12:59 PDT 2017


chandlerc added a comment.

After looking at the uses of AA in both passes here, I think I like the alternative idea of making AA optional directly in the passes. Then, for the old PM, we can use something like getAnalysisIfAvailable and just not mark the analysis as required when not optimizing codegen. What do you think? Would it be helpful if I hack up a patch?


https://reviews.llvm.org/D31642





More information about the llvm-commits mailing list