Author: Aiden Grossman Date: 2023-12-02T14:31:33-08:00 New Revision: f13b5d31450a095d6e11176b3db787f1e0894337
URL: https://github.com/llvm/llvm-project/commit/f13b5d31450a095d6e11176b3db787f1e0894337 DIFF: https://github.com/llvm/llvm-project/commit/f13b5d31450a095d6e11176b3db787f1e0894337.diff LOG: Actually update code Added: Modified: llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp Removed: ################################################################################ diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp b/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp index 51c9c6cd0935..bda7fb8b6ba9 100644 --- a/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp +++ b/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp @@ -576,7 +576,7 @@ BenchmarkRunner::runConfiguration(RunnableConfiguration &&RC, auto NewMeasurements = runMeasurements(**Executor); if (Error E = NewMeasurements.takeError()) { - if (!E.isA<SnippetCrash>()) + if (!E.isA<SnippetCrash>() || ErrorOnSnippetCrash) return std::move(E); InstrBenchmark.Error = toString(std::move(E)); return std::move(InstrBenchmark); _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits