This is an archive of the discontinued LLVM Phabricator instance.

Improve diagnostic when parsing a custom op without registering the dialect
ClosedPublic

Authored by mehdi_amini on Nov 16 2022, 1:29 PM.

Diff Detail

Event Timeline

mehdi_amini created this revision.Nov 16 2022, 1:29 PM
mehdi_amini requested review of this revision.Nov 16 2022, 1:29 PM
rriddle accepted this revision.Nov 16 2022, 1:32 PM
rriddle added inline comments.
mlir/lib/AsmParser/Parser.cpp
1878

This says "dialect found", should this be not found?

mlir/test/IR/invalid.mlir
116–117

?

This revision is now accepted and ready to land.Nov 16 2022, 1:32 PM
This revision was landed with ongoing or failed builds.Nov 16 2022, 1:42 PM
This revision was automatically updated to reflect the committed changes.