[mlir][py] Overload print with state. (#72064)
Enables reusing the AsmState when printing from Python. Also moves the
fileObject and binary to the end (pybind11::object was resulting in the
overload not working unless `state=` was specified).
---------
Co-authored-by:
Maksim Levental <maksim.levental@gmail.com>
parent
ad20a9e1
Please register or sign in to comment