This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Diagnostic] Don't store Operation arguments as a DiagnosticArgument
ClosedPublic

Authored by rriddle on Apr 7 2020, 12:41 PM.

Details

Summary

Diagnostics may be cached in the parallel diagnostic handler to preserve proper ordering. Storing the Operation as a DiagnosticArgument is problematic as the operation may be erased or changed before it finally gets printed.

Diff Detail

Event Timeline

rriddle created this revision.Apr 7 2020, 12:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2020, 12:41 PM
This revision is now accepted and ready to land.Apr 7 2020, 12:43 PM
This revision was automatically updated to reflect the committed changes.