[llvm] [PGO] Supporting code for always instrumenting loop entries (PR #116789)

Christian Ulmann via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 04:10:30 PST 2024


================
@@ -1946,7 +1960,8 @@ static bool InstrumentAllFunctions(
     auto &TLI = LookupTLI(F);
     auto *BPI = LookupBPI(F);
     auto *BFI = LookupBFI(F);
-    FunctionInstrumenter FI(M, F, TLI, ComdatMembers, BPI, BFI,
+    auto *LI = LookupLI(F);
----------------
Dinistro wrote:

Nit: Please use the full type here. Feel free to also write out the types of the other `auto`s right above it.

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


More information about the llvm-commits mailing list