[clang] [compiler-rt] [llvm] Migrate llvm-profdata to Opt flag parsing (PR #177868)

Prabhu Rajasekaran via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 22 09:38:49 PST 2026


================
@@ -973,8 +683,8 @@ static void mergeInstrProfile(const WeightedFileVector &Inputs,
                               SymbolRemapper *Remapper,
                               int MaxDbgCorrelationWarnings,
                               const StringRef ProfiledBinary) {
-  const uint64_t TraceReservoirSize = TemporalProfTraceReservoirSize.getValue();
-  const uint64_t MaxTraceLength = TemporalProfMaxTraceLength.getValue();
+  const uint64_t TraceReservoirSize = TemporalProfTraceReservoirSize;
+  const uint64_t MaxTraceLength = TemporalProfMaxTraceLength;
----------------
Prabhuk wrote:

These local variables are not used. Please remove.

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


More information about the llvm-commits mailing list