Skip to content

Commit 51fb034

Browse files
committed
[MLIR] Restore dropped error message to fix test failures from PR llvm#160331
PR llvm#160331 introduced a mistake that removed the error message for generate-runtime-verification pass, leading to two test failures during `check-mlir` build. This patch restores the missing error message, resolving the failures. Verified locally. Fixes post-merge regression from: llvm#160331
1 parent c3aa158 commit 51fb034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Transforms/GenerateRuntimeVerification.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class DefaultErrMsgGenerator {
5151
stream << "ERROR: Runtime op verification failed\n";
5252
if (vLevel == 1) {
5353
op->print(stream, state);
54-
stream << "\n";
54+
stream << "\n" << msg;
5555
}
5656
stream << "^\nLocation: ";
5757
op->getLoc().print(stream);

0 commit comments

Comments
 (0)