-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
enhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing featuremlir:pythonMLIR Python bindingsMLIR Python bindings
Description
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:
llvm-project/mlir/lib/Bindings/Python/IRCore.cpp
Lines 2592 to 2593 in 985f7ff
// TODO: Rework error reporting once diagnostic engine is exposed | |
// in C API. |
Metadata
Metadata
Assignees
Labels
enhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing featuremlir:pythonMLIR Python bindingsMLIR Python bindings