File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
include/mlir/Dialect/Transform/SMTExtension
python/mlir/dialects/transform Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1818#define GET_OP_CLASSES
1919#include " mlir/Dialect/Transform/SMTExtension/SMTExtensionOps.h.inc"
2020
21-
2221#endif // MLIR_DIALECT_TRANSFORM_SMTEXTENSION_SMTEXTENSIONOPS_H
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ static void populateDialectSMTSubmodule(nanobind::module_ &m) {
4242 },
4343 " cls" _a, " width" _a, " context" _a = nb::none ());
4444 auto smtIntType = mlir_type_subclass (m, " IntType" , mlirSMTTypeIsAInt)
45- .def_classmethod (
46- " get" ,
47- [](const nb::object &, MlirContext context) {
48- return mlirSMTTypeGetInt (context);
49- },
50- " cls" _a, " context" _a.none () = nb::none ());
45+ .def_classmethod (
46+ " get" ,
47+ [](const nb::object &, MlirContext context) {
48+ return mlirSMTTypeGetInt (context);
49+ },
50+ " cls" _a, " context" _a.none () = nb::none ());
5151
5252 auto exportSMTLIB = [](MlirOperation module , bool inlineSingleUseValues,
5353 bool indentLetBody) {
Original file line number Diff line number Diff line change 1414except ImportError as e :
1515 raise RuntimeError ("Error loading imports from extension module" ) from e
1616
17+
1718@_ods_cext .register_operation (_Dialect , replace = True )
1819class ConstrainParamsOp (ConstrainParamsOp ):
1920 def __init__ (
You can’t perform that action at this time.
0 commit comments