[Mlir-commits] [mlir] [mlir] implement `-verify-diagnostics=only-expected` (PR #135131)
Maksim Levental
llvmlistbot at llvm.org
Thu Apr 10 11:05:33 PDT 2025
================
@@ -149,17 +160,17 @@ LogicalResult mlir::mlirTranslateMain(int argc, char **argv,
MLIRContext context;
context.allowUnregisteredDialects(allowUnregisteredDialects);
- context.printOpOnDiagnostic(!verifyDiagnostics);
+ context.printOpOnDiagnostic(!bool(verifyDiagnostics.getNumOccurrences()));
----------------
makslevental wrote:
potato potato :) - sure
https://github.com/llvm/llvm-project/pull/135131
More information about the Mlir-commits
mailing list