[Mlir-commits] [mlir] [MLIR][mlir-opt] add support for disabling diagnostics (PR #117669)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Nov 27 09:11:25 PST 2024


================
@@ -202,6 +218,11 @@ class MlirOptMainConfig {
   /// Configuration for the debugging hooks.
   tracing::DebugConfig debugConfig;
 
+  /// Verbosity level of diagnostic information. 0: Errors only,
+  /// 1: Errors and warnings, 2: Errors, warnings and remarks.
+  VerbosityLevel diagnosticVerbosityLevelFlag =
----------------
jeffniu-openai wrote:

The default should be ErrorsWarningsAndRemarks. I think some tests are breaking because of this :)

https://github.com/llvm/llvm-project/pull/117669


More information about the Mlir-commits mailing list