[llvm] [LLVM][NewPM] Add a C API for setting the PassBuilder AA pipeline. (PR #102482)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 12 12:58:53 PDT 2024
================
@@ -61,6 +65,15 @@ LLVMErrorRef LLVMRunPasses(LLVMModuleRef M, const char *Passes,
CGSCCAnalysisManager CGAM;
ModuleAnalysisManager MAM;
PB.registerLoopAnalyses(LAM);
+ if (PassOpts->AAPipeline) {
----------------
aeubanks wrote:
nit: can you move this above `registerLoopAnalyses()` for consistency?
https://github.com/llvm/llvm-project/pull/102482
More information about the llvm-commits
mailing list