[Mlir-commits] [mlir] [mlir] expose -debug-only equivalent to C and Python (PR #93175)

Maksim Levental llvmlistbot at llvm.org
Fri May 24 10:11:17 PDT 2024


================
@@ -240,7 +240,20 @@ struct PyGlobalDebugFlag {
     // Debug flags.
     py::class_<PyGlobalDebugFlag>(m, "_GlobalDebug", py::module_local())
         .def_property_static("flag", &PyGlobalDebugFlag::get,
-                             &PyGlobalDebugFlag::set, "LLVM-wide debug flag");
+                             &PyGlobalDebugFlag::set, "LLVM-wide debug flag")
+        .def_static(
+            "set_types",
----------------
makslevental wrote:

nit: this only sets on type?

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


More information about the Mlir-commits mailing list