[PATCH] D12357: [PM] Add full support for alias analyses to the new pass manager, and port aa-eval to the new pass manager to test this support.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 11:44:19 PDT 2015


chandlerc added inline comments.

================
Comment at: lib/Passes/PassBuilder.cpp:229
@@ +228,3 @@
+  // the way the parameter to \c registerFunctionAnalyses does.
+  AAManager AAM;
+
----------------
hfinkel wrote:
> I don't understand why this helps. Where is the variable referenced?
The CREATE_PASS bit for the AAManager expands to "std::move(AAM)" below, because that's what registerFunctionAnalyses wants so that you can customize the AA manager that ends up in your analysis manager.


http://reviews.llvm.org/D12357





More information about the llvm-commits mailing list