[llvm] [MergeFunctions] Add support to run the pass over a set of function pointers (PR #111045)

Rafael Eckstein via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 28 02:45:39 PST 2024


================
@@ -467,9 +488,16 @@ bool MergeFunctions::runOnModule(Module &M) {
   return Changed;
 }
 
+DenseMap<Function *, Function *>
+MergeFunctions::runOnFunctions(ArrayRef<Function *> F) {
+  bool MergeResult = this->run(F);
----------------
Casperento wrote:

Yeah. That's ok

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


More information about the llvm-commits mailing list