[mlir] Add support for specifying printing flags when adding an op to a Diagnostic
This removes edge cases where the default flags we want to use during printing (e.g. local scope, eliding attributes, etc.) get missed/dropped. Differential Revision: https://reviews.llvm.org/D111761
Loading
Please sign in to comment