[llvm] [memprof] Refactor readMemProf (NFC) (PR #149663)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 19 19:50:34 PDT 2025


================
@@ -361,6 +361,74 @@ static void addVPMetadata(Module &M, Instruction &I,
   }
 }
 
+static void
+handleAllocSite(Instruction &I, CallBase *CI,
----------------
snehasish wrote:

Longer term, we should create a new class to encapulate the matching functionality so that we can internalize the state being passed around and make these public member functions that can be unit tested.

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


More information about the llvm-commits mailing list