[llvm] [MemProf] Add remarks for matched allocs and calls (PR #170379)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 10:21:50 PST 2025


================
@@ -454,6 +454,15 @@ handleAllocSite(Instruction &I, CallBase *CI,
                                                    InlinedCallStack.size())] = {
             AllocInfo->Info.getTotalSize(), AllocType};
       }
+      ORE.emit(
+          OptimizationRemark(DEBUG_TYPE, "MemprofContext", CI)
----------------
snehasish wrote:

What is the significance of "MemprofContext" here?

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


More information about the llvm-commits mailing list