[llvm] [LLVM][NewPM] Add C API for running the pipeline on a single function. (PR #103773)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 00:26:04 PDT 2024


================
@@ -50,6 +50,16 @@ LLVMErrorRef LLVMRunPasses(LLVMModuleRef M, const char *Passes,
                            LLVMTargetMachineRef TM,
                            LLVMPassBuilderOptionsRef Options);
 
+/**
+ * Construct and run a set of passes over a function
----------------
nikic wrote:

```suggestion
 * Construct and run a set of passes over a function.
```

https://github.com/llvm/llvm-project/pull/103773


More information about the llvm-commits mailing list