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

Maksim Levental llvmlistbot at llvm.org
Fri May 24 10:12:45 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:

oh this is an overload. whoops.

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


More information about the Mlir-commits mailing list