[llvm] [llvm-profgen] Add an option to force marking the profile as preinlined (PR #156501)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 8 22:04:59 PDT 2025


================
@@ -64,6 +64,12 @@ static cl::opt<bool>
                              "than threshold, it will be trimmed."),
                     cl::cat(ProfGenCategory));
 
+static cl::opt<bool> ForceProfilePreinlined(
+    "force-profile-preinlined",
----------------
WenleiHe wrote:

nit: `mark-all-context-preinlined`? we are not force doing actual reinline, but only marking preinlined flag. 

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


More information about the llvm-commits mailing list