Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit 0151e49

Browse files
authored
Revert "[mlir python] Add nanobind support for standalone dialects." (#118517)
Reverts llvm/llvm-project#117922 because deps aren't met on some of the post-commit build bots.
1 parent 6a60dbb commit 0151e49

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

DialectLLVM.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <string>
10-
119
#include "mlir-c/Dialect/LLVM.h"
1210
#include "mlir-c/IR.h"
1311
#include "mlir-c/Support.h"
14-
#include "mlir/Bindings/Python/Diagnostics.h"
1512
#include "mlir/Bindings/Python/PybindAdaptors.h"
13+
#include <string>
1614

1715
namespace py = pybind11;
1816
using namespace llvm;

TransformInterpreter.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include <pybind11/detail/common.h>
14-
#include <pybind11/pybind11.h>
15-
1613
#include "mlir-c/Dialect/Transform/Interpreter.h"
1714
#include "mlir-c/IR.h"
1815
#include "mlir-c/Support.h"
19-
#include "mlir/Bindings/Python/Diagnostics.h"
2016
#include "mlir/Bindings/Python/PybindAdaptors.h"
2117

18+
#include <pybind11/detail/common.h>
19+
#include <pybind11/pybind11.h>
20+
2221
namespace py = pybind11;
2322

2423
namespace {

0 commit comments

Comments
 (0)