[llvm] [LLVM][NewPM] Add a C API for setting the PassBuilder AA pipeline. (PR #102482)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 13 00:50:39 PDT 2024
================
@@ -72,6 +72,13 @@ void LLVMPassBuilderOptionsSetVerifyEach(LLVMPassBuilderOptionsRef Options,
void LLVMPassBuilderOptionsSetDebugLogging(LLVMPassBuilderOptionsRef Options,
LLVMBool DebugLogging);
+/**
+ * Specify a custom alias analysis pipeline for the PassBuilder
+ * to be used instead of the default one.
----------------
nikic wrote:
Maybe add a note here that the string has to live at least as long as PassBuilderOptions, as it is not copied.
https://github.com/llvm/llvm-project/pull/102482
More information about the llvm-commits
mailing list