[Mlir-commits] [mlir] [mlir][Python] create MLIRPythonSupport (PR #171775)

Maksim Levental llvmlistbot at llvm.org
Fri Dec 26 10:26:05 PST 2025


================
@@ -6,25 +6,27 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "IRModule.h"
+#include "mlir/Bindings/Python/IRCore.h"
 
 #include <optional>
 #include <vector>
 
-#include "Globals.h"
-#include "NanobindUtils.h"
+#include "mlir/Bindings/Python/Globals.h"
+// clang-format off
----------------
makslevental wrote:

I added the first instance of this (in one of the files) but I don't remember why (you can flip them and see) but it is indeed required (IIRC you get some kind of hard error - maybe segfault?).

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


More information about the Mlir-commits mailing list