[llvm] [TRE] Adjust function entry count when using instrumented profiles (PR #143987)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 19 07:50:02 PDT 2025


================
@@ -87,6 +90,11 @@ STATISTIC(NumEliminated, "Number of tail calls removed");
 STATISTIC(NumRetDuped,   "Number of return duplicated");
 STATISTIC(NumAccumAdded, "Number of accumulators introduced");
 
+static cl::opt<bool> ForceDisableBFI(
+    "tre-disable-entrycount-recompute", cl::init(false), cl::Hidden,
----------------
mtrofin wrote:

I wanted this to be temporary as a release unblocker, but... easy to keep it around. Added test.

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


More information about the llvm-commits mailing list