[llvm] [MemProf] Support cloning for indirect calls with ThinLTO (PR #110625)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 10:47:54 PDT 2024


================
@@ -3808,6 +4085,13 @@ bool MemProfContextDisambiguation::applyImport(Module &M) {
       FuncToAliasMap[F].insert(&A);
   }
 
+  InstrProfSymtab Symtab;
----------------
snehasish wrote:

I think we should make this a private member var and then use it in a helper method when promoting icalls.

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


More information about the llvm-commits mailing list