Make diagnostic a bit clearer.

This prints out in case of any pass failure. Not just a crash.

PiperOrigin-RevId: 283616719
Change-Id: I31ee68cd17dcc3867f7a5e6a1bf21ca336cecc63
This commit is contained in:
Sean Silva 2019-12-03 14:00:36 -08:00 committed by TensorFlower Gardener
parent d0acd1e267
commit 8f46707460

View File

@ -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 << "'";
}