Issue 60595
Summary [mlir][python] Include diagnostic messages in exceptions
Labels enhancement, mlir:python
Assignees rkayaith
Reporter rkayaith
    Currently diagnostics from parsing, running pipelines, op verification etc. end up on stderr. These can instead be captured using the diagnostic engine bindings, and included in the python exception message. See this (and similar) TODOs: https://github.com/llvm/llvm-project/blob/985f7ff6326e91b0d508aa1b405f4f26ed683ca6/mlir/lib/Bindings/Python/IRCore.cpp#L2592-L2593
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to