[llvm] [mlir] [mlir][Python] create MLIRPythonSupport (PR #171775)

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 29 06:40:26 PST 2025


================
@@ -20,17 +20,21 @@
 #include "mlir-c/AffineExpr.h"
 #include "mlir-c/AffineMap.h"
 #include "mlir-c/BuiltinAttributes.h"
+#include "mlir-c/Debug.h"
 #include "mlir-c/Diagnostics.h"
 #include "mlir-c/IR.h"
 #include "mlir-c/IntegerSet.h"
 #include "mlir-c/Transforms.h"
 #include "mlir/Bindings/Python/Nanobind.h"
 #include "mlir/Bindings/Python/NanobindAdaptors.h"
+
 #include "llvm/ADT/DenseMap.h"
+#include "llvm/Support/FormatVariadic.h"
 #include "llvm/Support/ThreadPool.h"
 
 namespace mlir {
 namespace python {
+namespace MLIR_BINDINGS_PYTHON_DOMAIN {
----------------
kuhar wrote:

nit/optional: do we want to collapse these here and elsewhere?

```suggestion
namespace mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN {
```

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


More information about the llvm-commits mailing list