[Mlir-commits] [mlir] [mlir] Expose loadAllAvailableDialects to mlir-opt (PR #86374)

Stella Laurenzo llvmlistbot at llvm.org
Sat Mar 23 09:31:44 PDT 2024


================
@@ -62,6 +62,17 @@ class MlirOptMainConfig {
     return allowUnregisteredDialectsFlag;
   }
 
+  /// Load all available dialects in the context.
+  /// This option is for convenience during testing only and discouraged in
----------------
stellaraccident wrote:

This entire tool is only for testing. Can you elaborate on what tests are breaking without doing this? This was removed because it is almost always a bug if passes are not declaring their dependent dialects in a way that would require this.

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


More information about the Mlir-commits mailing list