From 8f467074608f328f8e5becc754ab271847aa2941 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Tue, 3 Dec 2019 14:00:36 -0800 Subject: [PATCH] Make diagnostic a bit clearer. This prints out in case of any pass failure. Not just a crash. PiperOrigin-RevId: 283616719 Change-Id: I31ee68cd17dcc3867f7a5e6a1bf21ca336cecc63 --- third_party/mlir/lib/Pass/Pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/mlir/lib/Pass/Pass.cpp b/third_party/mlir/lib/Pass/Pass.cpp index a195bb0c0c8..6d8e230eeec 100644 --- a/third_party/mlir/lib/Pass/Pass.cpp +++ b/third_party/mlir/lib/Pass/Pass.cpp @@ -533,7 +533,7 @@ static LogicalResult runWithCrashRecovery(OpPassManager &pm, outputFile->keep(); return reproducerModule->emitError() - << "A crash has been detected while processing the MLIR module, a " + << "A failure has been detected while processing the MLIR module, a " "reproducer has been generated in '" << crashReproducerFileName << "'"; }