[Mlir-commits] [mlir] [mlir][py] Overload print with state. (PR #72064)

Maksim Levental llvmlistbot at llvm.org
Sun Nov 12 11:56:12 PST 2023


================
@@ -1198,6 +1207,17 @@ void PyOperationBase::print(py::object fileObject, bool binary,
   mlirOpPrintingFlagsDestroy(flags);
 }
 
+void PyOperationBase::print(PyAsmState &state, pybind11::object fileObject,
+                            bool binary) {
----------------
makslevental wrote:

nittiest of nits:

```suggestion
void PyOperationBase::print(PyAsmState &state, py::object fileObject,
                            bool binary) {
```

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


More information about the Mlir-commits mailing list