[llvm] [MemProf] Expand optimization scope to internal linakge function (PR #73236)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 09:51:13 PST 2023


================
@@ -677,24 +677,10 @@ static void readMemprof(Module &M, Function &F,
                         const TargetLibraryInfo &TLI) {
   auto &Ctx = M.getContext();
 
-  auto FuncName = getIRPGOFuncName(F);
+  auto FuncName = F.getName();
----------------
teresajohnson wrote:

Can you add a comment summarizing why we specifically don't want to use getIRPGOFuncName here?

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


More information about the llvm-commits mailing list