This is an archive of the discontinued LLVM Phabricator instance.

[mlir][python] Don't emit diagnostics when printing invalid ops
ClosedPublic

Authored by rkayaith on Feb 25 2023, 9:29 PM.

Details

Summary

The asm printer grew the ability to automatically fall back to the
generic format for invalid ops, so this logic doesn't need to be in the
bindings anymore. The printer already handles supressing diagnostics
that get emitted while checking if the op is valid.

Diff Detail

Event Timeline

rkayaith created this revision.Feb 25 2023, 9:29 PM
Herald added a project: Restricted Project. · View Herald Transcript
rkayaith published this revision for review.Feb 25 2023, 10:31 PM
mehdi_amini accepted this revision.Feb 25 2023, 10:34 PM
This revision is now accepted and ready to land.Feb 25 2023, 10:34 PM