[llvm-branch-commits] [llvm] [llvm-profgen][NFC] Reuse isLBRSample (PR #191595)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 17 22:21:18 PDT 2026


================
@@ -1213,7 +1218,7 @@ PerfContent PerfScriptReader::checkPerfScriptType(StringRef FileName) {
       TraceIt.advance();
     }
     if (!TraceIt.isAtEoF()) {
-      if (isLBRSample(TraceIt.getCurrentLine())) {
+      if (isLBRSample(TraceIt.getCurrentLine(), false)) {
----------------
HighW4y2H3ll wrote:

Thanks for clarifying on that!

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


More information about the llvm-branch-commits mailing list