Skip to content
Commit 48dbfb48 authored by Chris Lattner's avatar Chris Lattner Committed by jpienaar
Browse files

Enhance MLIRContext and operations with the ability to register diagnostic

handlers and to feed them with errors and warnings produced by the compiler.
Enhance Operation to be able to get its own MLIRContext on demand, simplifying
some clients.  Change the verifier to emit certain errors with the diagnostic
handler.

This is steps towards reworking the verifier and diagnostic propagation but is
itself not particularly useful.  More to come.

PiperOrigin-RevId: 206948643
parent 8189a12b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment