[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 6 08:16:46 PST 2024
================
@@ -297,17 +300,31 @@ class MergeFunctions {
// dangling iterators into FnTree. The invariant that preserves this is that
// there is exactly one mapping F -> FN for each FunctionNode FN in FnTree.
DenseMap<AssertingVH<Function>, FnTreeType::iterator> FNodesInTree;
+
+ /// Deleted-New functions mapping
+ std::map<Function *, Function *> DelToNewMap;
----------------
Casperento wrote:
Resolved in https://github.com/llvm/llvm-project/pull/111045/commits/67d70af9d4e0f1d09f77d8eae77ea5c420bc91df .
https://github.com/llvm/llvm-project/pull/111045
More information about the llvm-commits
mailing list