[llvm] [ctx_prof] Add Inlining support (PR #106154)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 13:42:58 PDT 2024


================
@@ -2116,6 +2119,203 @@ inlineRetainOrClaimRVCalls(CallBase &CB, objcarc::ARCInstKind RVCallKind,
   }
 }
 
+// In contextual profiling, when an inline succeeds, we want to remap the
+// indices of the callee in the index space of the caller. We can't just leave
----------------
mtrofin wrote:

done

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


More information about the llvm-commits mailing list