[llvm] [llvm-exegesis] Skip benchmark entries with unknown opcodes in analysis mode (PR #201162)
Lawson Darrow via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 07:26:57 PDT 2026
================
@@ -668,6 +668,8 @@ static void analysisMain() {
// Read benchmarks.
const LLVMState State = ExitOnErr(
LLVMState::Create(TripleAndCpu.LLVMTriple, TripleAndCpu.CpuName));
+ // Skip entries that fail to parse (e.g. unknown opcodes from bitrotted
+ // samples) with a warning rather than aborting the whole analysis.
----------------
Lawson-Darrow wrote:
Agreed, removed it in f274a209a. readYamls already documents the skip behavior so the call site comment was just duplicating it.
https://github.com/llvm/llvm-project/pull/201162
More information about the llvm-commits
mailing list