[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
Wed Nov 27 07:20:28 PST 2024
================
@@ -467,9 +489,16 @@ bool MergeFunctions::runOnModule(Module &M) {
return Changed;
}
+std::pair<bool, DenseMap<Function *, Function *>>
+MergeFunctions::runOnFunctions(std::set<Function *> &F) {
+ bool MergeResult = false;
+ MergeResult = this->run(F);
+ return {MergeResult, this->DelToNewMap};
----------------
Casperento wrote:
Resolved in [350395d](https://github.com/llvm/llvm-project/pull/111045/commits/350395d7c6e7614e3012443abe155cfc1b307e87).
https://github.com/llvm/llvm-project/pull/111045
More information about the llvm-commits
mailing list