[llvm] [llvm-exegesis] Skip benchmark entries with unknown opcodes in analysis mode (PR #201162)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 03:37:12 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.
----------------
RKSimon wrote:

redundant now?

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


More information about the llvm-commits mailing list