[llvm-branch-commits] [llvm] f13b5d3 - Actually update code

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Dec 2 14:31:38 PST 2023


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);


        


More information about the llvm-branch-commits mailing list